Application:getLocale

From GiderosMobile
Revision as of 17:31, 12 July 2023 by Hgy29 (talk | contribs) (Text replacement - "</source" to "</syntaxhighlight")

Available since: Gideros 2011.6
Class: Application

Description

Returns the device locale. The locale string is a combination of ISO 639-1 and ISO 3166-1. For example, en_US, ja_JP.

<source lang="lua"> (string) = application:getLocale() </syntaxhighlight>

Return values

Returns (string) The device locale