Features Pricing GDPR cookie banner Google Consent Mode v2 WordPress plugin Cookiebot alternative For Agencies GDPR ePrivacy About Contact
RO | EN
Start Free →
Preferences

„lang” Cookie (Various) – What It Is and What It Does

The „lang” cookie is an HTTP cookie used by many platforms and websites to remember the language a visitor prefers to view content in. It is set by the visited website itself (or a language module/plugin installed on it) and typically lasts one year.

Name
lang
Provider
Various
Category
Preferences
Type
HTTP cookie
Lifetime
1 year
Consent
Yes, before it is set (GDPR / ePrivacy)

What is the lang cookie?

„lang” is a generic cookie name used by numerous content management systems, frameworks, and multilingual plugins — it is not tied to a single provider. There is no single standard „lang provider”; essentially any multilingual website can set a cookie with this name.

The cookie usually appears on the first visit, when the visitor selects a language from the site menu, or automatically, based on the language detected from the browser or regional settings.

What data it stores

The cookie typically stores a short language code (for example „en”, „ro”, „fr”), without directly identifiable personal data. The exact value format varies between systems and is not publicly standardized.

The data is usually stored locally in the visitor's browser and sent to the domain that set the cookie with each subsequent request to that site, so the correct language version of the content can be served.

What it is used for

The main purpose is functional: the site „remembers” the chosen language so the visitor doesn't have to select it again on every new page or subsequent visit.

For the site administrator, this cookie improves user experience and reduces bounce rates caused by displaying content in an unwanted language, without being used for marketing or analytics purposes.

Does it require consent?

CookieFix classifies „lang” as a preferences (functional) cookie. Depending on the implementation, some variants may be considered strictly necessary (if the language setting is essential to the site's core function), but in most cases preference cookies like this one require the visitor's consent under the ePrivacy Directive, since they are not indispensable to delivering the explicitly requested service.

  • The site administrator must declare the cookie in the cookie policy.
  • If not strictly necessary, the script setting it must be blocked until consent is obtained.
  • Verifying the specific implementation (plugin, theme, CMS) is recommended to confirm whether it is strictly necessary or not.

How to block or delete lang

Visitors can delete or block this cookie from their browser settings (Chrome, Firefox, Edge, Safari), under per-site cookie management. Deleting it will make the site revert to its default language or prompt the selection again.

For administrators, a CMP platform like CookieFix can automatically block the script that sets the „lang” cookie until the visitor gives consent, allowing it to run only after acceptance under the appropriate category.

Frequently asked questions

It is set by the visited website itself, usually through its CMS or multilingual plugin, not by a single third-party provider. The name is generic and appears across many different platforms.

In most cases yes, as it is classified as a functional preference cookie, except when it is strictly necessary for the site to work. The specific implementation should be checked.

The site will revert to its default language or detect the browser language again on the next visit, and the visitor may need to reselect their preference.

It usually stores only a language code, without directly identifiable information, but it still must be disclosed in the privacy/cookie policy under GDPR.

Updated 7 September 2026 · Information comes from the provider’s public documentation and CookieFix scans; it is not legal advice.