GetLanguageCode returns the user language code (ie. “en” or “de”).
app.GetLanguageCode() → String
See Also: GetLanguage, GetCountryCode
Example - Show User Language Code
function OnStart()
{
var code = app.GetLanguageCode();
app.Alert( code );
}
from native import app
def OnStart():
code = app.GetLanguageCode()
app.Alert(code)