Defines1
SymbolDescription
LANG_SERVERTranslate using the server's language
Functions12
SymbolDescription
GetClientLanguageRetrieves the language number of a client.
GetClientOriginalLanguageRetrieves the language number a client had when they connected.
GetLanguageByCodeRetrieves the language number from a language code.
GetLanguageByNameRetrieves the language number from a language name.
GetLanguageCountReturns the number of languages known in languages.cfg.
GetLanguageInfoRetrieves info about a given language number.
GetServerLanguageRetrieves the server's language.
IsTranslatedForLanguageDetermines if there is a translation for the specified language.
LoadTranslationsLoads a translation file for the plugin calling this native. If no extension is specified, .txt is assumed.
SetClientLanguageSets the language number of a client.
SetGlobalTransTargetSets the global language target. This is useful for creating functions that will be compatible with the %t format specifier. Note that invalid indexes can be specified but the error will occur during translation, not during this function call.
TranslationPhraseExistsDetermines if the specified phrase exists within the plugin's translation cache.