LocaleContext
A GlobalContext describing the users' language (ISO 639-1) and country (ISO 3166-1 alpha-2).
graph LR
AbstractContext["AbstractContext<span class='properties'>id: string<br /></span>"] --> AbstractGlobalContext;
AbstractGlobalContext --> LocaleContext["LocaleContext<span class='properties'>language_code?: string<br />country_code?: string<br /></span>"];
class LocaleContext diagramActive
click AbstractGlobalContext "/docs/taxonomy/global-contexts" "See details" _self
Properties
type | description | |
---|---|---|
language_code [optional] | string | Case sensitive ISO 639-1 language code. E.g. en, nl, fr, de, it, etc. |
country_code [optional] | string | Case sensitive ISO 3166-1 alpha-2 country code. E.g. US, NL, FR, DE, IT, etc. |
Inherited Properties
type | description | |
---|---|---|
id | string | A unique string identifier to be combined with the Context Type (_type ) for Context instance uniqueness. |
setting of properties
The tracker can automatically set the id
when using the official Plugin. On manual creation, id
must be provided.