Skip to content

DotNet.Localization.Enumeration.GameLocale

github-actions[bot] edited this page Sep 20, 2026 · 11 revisions

EliteDangerousAlmanac / Localization / GameLocale

Enumeration: GameLocale

Defined in: dotnet/src/EliteDangerousAlmanac/Localization/GameLocale.cs:26

A language the shared localized-name catalogues carry.

Remarks

English is complete, because it is the canonical name the Almanac publishes already. Every other language is sparse and depends on its source, so a lookup answers null where the pinned source carries no translation. This leaves the application in charge of its own fallback policy.

A lookup takes any tag rather than only these, so a caller passes its application locale straight in. A regional or a script subtag is dropped rather than matched, because every stored language is a bare language tag: de-DE selects German. Case is ignored, and an underscore stands for a hyphen. Any other language is one the catalogues do not carry, and every lookup for it answers null.

A source can publish a translation whose spelling equals the English name. A lookup answers what the source states, and never builds an English fallback of its own.

Enumeration Members

En

En

Defined in: dotnet/src/EliteDangerousAlmanac/Localization/GameLocale.cs:29

English.

De

De

Defined in: dotnet/src/EliteDangerousAlmanac/Localization/GameLocale.cs:32

German.

Es

Es

Defined in: dotnet/src/EliteDangerousAlmanac/Localization/GameLocale.cs:35

Spanish.

Fr

Fr

Defined in: dotnet/src/EliteDangerousAlmanac/Localization/GameLocale.cs:38

French.

Pt

Pt

Defined in: dotnet/src/EliteDangerousAlmanac/Localization/GameLocale.cs:44

Portuguese. The stored spelling is the Brazilian Portuguese every accepted source publishes under a bare tag, so pt-PT selects it like any other regional tag.

Ru

Ru

Defined in: dotnet/src/EliteDangerousAlmanac/Localization/GameLocale.cs:47

Russian.

.NET

Guides
Astronomy
Classes (16)
Records (29)
Enumerations (6)
Commodities
Classes (2)
Records (1)
Enumerations (1)
Equipment
Classes (8)
Records (19)
Enumerations (8)
GalaxyMap
Classes (1)
Records (1)
Localization
Classes (2)
Enumerations (1)
Materials
Classes (5)
Records (2)
Enumerations (4)
Ships
Classes (42)
Records (115)
Interfaces (1)
Enumerations (35)

Clone this wiki locally