Interface: LanguageSources
Defined in: core/language.ts:11
Where the language can come from, in order of precedence.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
argv? | readonly string[] | The process's arguments; --language=<code> wins over everything else. | core/language.ts:13 |
env? | Readonly<Record<string, string | undefined>> | The environment, for LC_ALL, LC_MESSAGES and LANG (e.g. "fr_FR.UTF-8"). | core/language.ts:19 |
locale? | string | The system's locale, e.g. "es-ES" (Intl). | core/language.ts:17 |
option? | string | The agent's own choice (its code or configuration). | core/language.ts:15 |