Skip to content

API Interface LocaleLanguage

github-actions[bot] edited this page Nov 30, 2026 · 3 revisions

Interface: LocaleLanguage

Defined in: src/engine/localisation/Locale.ts:33

A shipped language, as Locale.languages lists it.

Properties

code

readonly code: string;

Defined in: src/engine/localisation/Locale.ts:34


direction

readonly direction: "ltr" | "rtl";

Defined in: src/engine/localisation/Locale.ts:39


fallback

readonly fallback: readonly string[];

Defined in: src/engine/localisation/Locale.ts:38

The languages its keys fall back to, in order (its own list, then the project's).


name

readonly name: string;

Defined in: src/engine/localisation/Locale.ts:36

Its name in itself (Français), for a language menu.

Clone this wiki locally