Lang
Assembly: uMod.Core.dll
Inheritance ObjectLibrary Lang
Implements ILibrary, ISingleton
Constructors
Name | Summary |
|---|---|
Lang ( |
Methods
Name | Summary |
|---|---|
Gets a message using the specified key for the specified plugin and language | |
GetLanguage ( | Gets the language for the player, fall back to the default server language if no language is set |
Gets all language files for the specified plugin | |
Gets all available languages or only those for the specified plugin | |
Gets a message using the specified key for the specified plugin and player | |
GetServerLanguage () | Gets the default language for the server |
Checks if translations exist for the specified language | |
RegisterJson ( | |
RegisterMessages ( | Registers a language set for a plugin |
RegisterToml ( | |
Sets the language preference for the player | |
SetServerLanguage ( | Sets the default language for the server |