mirror of
https://github.com/Ellpeck/TinyLifeExampleMod.git
synced 2024-06-01 20:33:38 +02:00
1.6 KiB
1.6 KiB
Localization
Namespace: TinyLife
Assembly: Tiny Life.dll
Summary
A class that houses the currently loaded language as well as allows for switching the currently selected language
Static Fields
Type | Name | Summary |
---|---|---|
Dictionary<String, String> | LanguageNames | A list of the full names of all of the languages that the game supports |
Static Methods
Return | Name | Summary |
---|---|---|
String | Get ( LnCategory , String ) |
Gets a localized string in the given category with the given key. If the localization is not found, the key, surrounded by question marks, is returned instead. |
String | Get ( LnCategory , String , Object [] ) |
Gets a localized string in the given category with the given key. If the localization is not found, the key, surrounded by question marks, is returned instead. |
void | SetLanguage ( String ) |
Switches the current language to the language given. Note that, for most ui elements to update, they have to be re-created. |