Skip to content

function getLangCode (client-side)

Available since version: 0.3.3

This function will get the 2 letter code of the language if it was loaded by the game.

Declaration

string getLangCode(string lang)

Parameters

  • string lang: the lang code, e.g "en", "pl" and etc.

Returns string

the name of the language.