Difference between revisions of "Application:getLanguage"

From GiderosMobile
(prefixindex)
m
 
(3 intermediate revisions by 2 users 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
 
 
----
 
{{Special:PrefixIndex/Application}}
 
<br/>
 
  
{{Special:PrefixIndex/Event.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