Difference between revisions of "Application:getLocale"

Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2011.6<br/>
+
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate><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 />
Line 8: Line 8:
 
(string) = Application:getLocale()
 
(string) = Application:getLocale()
 
</source>
 
</source>
=== Return values ===
+
=== <translate>Return values</translate> ===
'''Returns''' (string) <translate>The device locale</translate><br/>
+
'''<translate>Returns</translate>''' (string) <translate>The device locale</translate><br/>

Revision as of 08:28, 24 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