Skip to content

DotNet.Localization.Class.GameLocales

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

EliteDangerousAlmanac / Localization / GameLocales

Class: GameLocales

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

Reads a GameLocale from the tag an application holds.

Methods

TryParse()

static TryParse(tag, locale): bool

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

Reads the language one BCP 47 tag selects.

Parameters

tag

string?

The tag, such as de or de-DE. Case is ignored, an underscore stands for a hyphen, and a regional or script subtag is dropped.

locale

out GameLocale

The language the tag selects, when the answer is true.

Returns

bool

true where the catalogues carry the language the tag names.

.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