Difference between revisions of "Application:getLanguage"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m
 
(One intermediate revision 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">
 
<syntaxhighlight 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 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