Application:getLanguage: Difference between revisions

From GiderosMobile
m Text replacement - "</source" to "</syntaxhighlight"
mNo edit summary
 
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">
<syntaxhighlight lang="lua">
(string) = application:getLanguage()
(string) = application:getLanguage()
Line 10: Line 9:


=== 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