Difference between revisions of "Application:getLanguage"
From GiderosMobile
m (→Description: fixed application) |
|||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
<languages /> | <languages /> | ||
− | '''<translate>Available since</translate>:''' Gideros 2011.6<br/> | + | |
− | '''<translate>Class</translate>:''' [[Special:MyLanguage/Application|Application]]<br/> | + | '''<translate>Available since</translate>:''' Gideros 2011.6 |
+ | <br/> | ||
+ | '''<translate>Class</translate>:''' [[Special:MyLanguage/Application|Application]] | ||
+ | <br/> | ||
=== <translate>Description</translate> === | === <translate>Description</translate> === | ||
− | <translate | + | <translate> |
Returns the user language in ISO 639-1 format.<br /> | Returns the user language in ISO 639-1 format.<br /> | ||
− | + | </translate> | |
<source lang="lua"> | <source lang="lua"> | ||
− | (string) = | + | (string) = application:getLanguage() |
</source> | </source> | ||
=== <translate>Return values</translate> === | === <translate>Return values</translate> === | ||
− | '''<translate>Returns</translate>''' (string) <translate>The | + | '''<translate>Returns</translate>''' (string) <translate>The user language</translate> |
+ | <br/> | ||
+ | <br/> |
Revision as of 23:36, 12 June 2019
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