Application:getLocale: Difference between revisions

From GiderosMobile
prefixindex
No edit summary
Line 12: Line 12:
'''Returns''' (string) The device locale
'''Returns''' (string) The device locale


----
{{Application}}
{{Special:PrefixIndex/Application}}
<br/>
 
{{Special:PrefixIndex/Event.APPLICATION}}

Revision as of 22:53, 2 December 2019

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.

(string) = application:getLocale()

Return values

Returns (string) The device locale