You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > Locale Library > name

11.1 name

locale.name()

Returns the name of the current locale. The locale name is a two-letter language code. The language code may be followed by an underscore and two-letter country code.

Introduced in platform.apiLevel = '1.0'