Difference between revisions of "Application:getLanguage"

From GiderosMobile
m
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
 
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 +
'''Class:''' [[Application]]<br/>
 +
 
=== Description ===
 
=== Description ===
<br />
+
Returns the user language in ISO 639-1 format.
Returns the user language in ISO 639-1 format.<br />
+
<syntaxhighlight lang="lua">
<br />
+
(string) = application:getLanguage()
<source lang="lua">
+
</syntaxhighlight>
(string) = Application:getLanguage()
+
 
</source>
 
 
=== Return values ===
 
=== Return values ===
'''Returns''' (string) The the user language<br/>
+
'''Returns''' (string) the user language
 +
 
 +
{{Application}}

Latest revision as of 19:36, 28 September 2023

Available since: Gideros 2011.6
Class: Application

Description

Returns the user language in ISO 639-1 format.

(string) = application:getLanguage()

Return values

Returns (string) the user language