DotNet.Localization.Class.GameLocales - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
EliteDangerousAlmanac / Localization / GameLocales
Defined in: dotnet/src/EliteDangerousAlmanac/Localization/GameLocale.cs:51
Reads a GameLocale from the tag an application holds.
staticTryParse(tag,locale):bool
Defined in: dotnet/src/EliteDangerousAlmanac/Localization/GameLocale.cs:73
Reads the language one BCP 47 tag selects.
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.
out GameLocale
The language the tag selects, when the answer is true.
bool
true where the catalogues carry the language the tag names.