Skip to content

API Interface LocaleLanguage

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

Interface: LocaleLanguage

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

A shipped language, as Locale.languages lists it.

Properties

code

readonly code: string;

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


direction

readonly direction: "ltr" | "rtl";

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


fallback

readonly fallback: readonly string[];

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

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:35

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

Clone this wiki locally