Application:getLocale: Difference between revisions

From GiderosMobile
Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Returns the device locale. The locale string is a combination of ISO 639-1 and ISO 3166-1. For..."
 
No edit summary
Line 6: Line 6:
<br />
<br />
<source lang="lua">
<source lang="lua">
(string), = Application:getLocale()
(string) = Application:getLocale()
</source>
</source>
'''Returns''' (string) The device locale<br/>
'''Returns''' (string) The device locale<br/>

Revision as of 09:19, 23 August 2018

Available since: Gideros 2011.6

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()

Returns (string) The device locale