Provides CultureInfos.
More...
|
static CultureInfo | FromString (string langCode) |
| Creates a CultureInfo from a ISO language code either in Windows (e.g. en-US) or Unix (e.g. en_US) format. More...
|
|
static void | SetUI (CultureInfo culture) |
| Changes the UI language used by this process. Should be called right after startup. More...
|
|
|
static readonly IEnumerable< CultureInfo > | AllKnown = GetAllKnown() |
| All known languages in alphabetical order. More...
|
|
◆ FromString()
static CultureInfo NanoByte.Common.Values.Languages.FromString |
( |
string |
langCode | ) |
|
|
inlinestatic |
Creates a CultureInfo from a ISO language code either in Windows (e.g. en-US) or Unix (e.g. en_US) format.
◆ SetUI()
static void NanoByte.Common.Values.Languages.SetUI |
( |
CultureInfo |
culture | ) |
|
|
inlinestatic |
Changes the UI language used by this process. Should be called right after startup.
This sets CultureInfo.CurrentUICulture for the current and all future threads.
◆ AllKnown
readonly IEnumerable<CultureInfo> NanoByte.Common.Values.Languages.AllKnown = GetAllKnown() |
|
static |
All known languages in alphabetical order.
The documentation for this class was generated from the following file:
- Common/Values/Languages.cs