Application:getLanguage: Difference between revisions

From GiderosMobile
No edit summary
mNo edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
'''Available since:''' Gideros 2011.6<br/>
'''Available since:''' Gideros 2011.6<br/>
'''Class:''' [[Application|Application]]<br/>
'''Class:''' [[Application]]<br/>


=== Description ===
=== Description ===
Returns the user language in ISO 639-1 format.
Returns the user language in ISO 639-1 format.
 
<syntaxhighlight lang="lua">
<source lang="lua">
(string) = application:getLanguage()
(string) = application:getLanguage()
</source>
</syntaxhighlight>


=== Return values ===
=== Return values ===
'''Returns''' (string) The user language
'''Returns''' (string) the user language


{{Application}}
{{Application}}

Latest revision as of 18: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