Functions 12

Function Description
GetClientLanguage

Retrieves the language number of a client.

GetClientOriginalLanguage

Retrieves the language number a client had when they connected.

GetLanguageByCode

Retrieves the language number from a language code.

GetLanguageByName

Retrieves the language number from a language name.

GetLanguageCount

Returns the number of languages known in languages.cfg.

GetLanguageInfo

Retrieves info about a given language number.

GetServerLanguage

Retrieves the server's language.

IsTranslatedForLanguage

Determines if there is a translation for the specified language.

LoadTranslations

Loads a translation file for the plugin calling this native. If no extension is specified, .txt is assumed.

SetClientLanguage

Sets the language number of a client.

SetGlobalTransTarget

Sets 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.

TranslationPhraseExists

Determines if the specified phrase exists within the plugin's translation cache.