Difference between revisions of "Application:getLanguage"

From GiderosMobile
m
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
+
'''Available since:''' Gideros 2011.6<br/>
<languages />
+
'''Class:''' [[Application]]<br/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
+
 
'''<translate>Class</translate>:''' [[Special:MyLanguage/Application|Application]]<br/>
+
=== Description ===
=== <translate>Description</translate> ===
+
Returns the user language in ISO 639-1 format.
<translate><br />
+
<syntaxhighlight lang="lua">
Returns the user language in ISO 639-1 format.<br />
+
(string) = application:getLanguage()
<br /></translate>
+
</syntaxhighlight>
<source lang="lua">
+
 
(string) = Application:getLanguage()
+
=== Return values ===
</source>
+
'''Returns''' (string) the user language
=== <translate>Return values</translate> ===
+
 
'''<translate>Returns</translate>''' (string) <translate>The the user language</translate><br/>
+
{{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