PluginLang
Assembly: uMod.Core.dll
Inheritance Object PluginLang
Summary
Represents a plugin localization helper class Created with each plugin to simplify Lang provider handling
Constructors
Name | Summary |
|---|---|
PluginLang ( | Create a plugin lang wrapper for the specified plugin |
Methods
Name | Summary |
|---|---|
Gets a message using the specified key for the specified language | |
GetLanguage ( | Gets the language for the player, fall back to the default server language if no language is set |
GetLanguage ( | Gets the language for the player, fall back to the default server language if no language is set |
GetLanguageFiles ( | Gets all available language files |
GetLanguages ( | Gets all available languages or only those for a single plugin |
Gets a message using the specified key for the specified player | |
Gets a message using the specified key for the specified player | |
GetMessages ( | Gets all messages for a plugin in a language |
Checks if translations exist for the specified language | |
RegisterMessages ( | Registers a language set for a plugin |
Sets the language preference for the player | |
Sets the language preference for the player |