Difference between revisions of "Application:getLocale"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
=== Description ===
 
=== Description ===
<br />
+
<translate><br />
 
Returns the device locale. The locale string is a combination of ISO 639-1 and ISO 3166-1. For example, en_US, ja_JP.<br />
 
Returns the device locale. The locale string is a combination of ISO 639-1 and ISO 3166-1. For example, en_US, ja_JP.<br />
<br />
+
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">
 
(string) = Application:getLocale()
 
(string) = Application:getLocale()
 
</source>
 
</source>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (string) The device locale<br/>
+
'''Returns''' (string) <translate>The device locale</translate><br/>

Revision as of 13:33, 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()

Return values

Returns (string) The device locale