Difference between revisions of "Application:getLanguage"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Returns the user language in ISO 639-1 format.<br /> <br /> <source lang="lua"> (string), = App...")
 
(8 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|Application]]<br/>
 +
 
=== Description ===
 
=== Description ===
<br />
+
Returns the user language in ISO 639-1 format.
Returns the user language in ISO 639-1 format.<br />
+
 
<br />
 
 
<source lang="lua">
 
<source lang="lua">
(string), = Application:getLanguage()
+
(string) = application:getLanguage()
 
</source>
 
</source>
'''Returns''' (string) The the user language<br/>
+
 
 +
=== Return values ===
 +
'''Returns''' (string) The user language
 +
 
 +
{{Application}}

Revision as of 00:53, 3 December 2019

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