Difference between revisions of "FBInstant.getLocale"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2018.3<br/>
+
<languages />
=== Description ===
+
'''<translate>Available since</translate>:''' Gideros 2018.3<br/>
 +
'''<translate>Class</translate>:''' [[Special:MyLanguage/* Initialisation and Core|* Initialisation and Core]]<br/>
 +
=== <translate>Description</translate> ===
 
<translate><br />
 
<translate><br />
 
The current locale. See https://www.facebook.com/translations/FacebookLocales.xml for a complete list of supported locale values. Use this to determine what language the current game should be localized with.<br />
 
The current locale. See https://www.facebook.com/translations/FacebookLocales.xml for a complete list of supported locale values. Use this to determine what language the current game should be localized with.<br />
Line 7: Line 9:
 
The locale string returned is a five-character Facebook locale code of the form xx_XX.
 
The locale string returned is a five-character Facebook locale code of the form xx_XX.
 
<br /></translate>
 
<br /></translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(string) = FBInstant.getLocale()
 
(string) = FBInstant.getLocale()
</source>
+
</syntaxhighlight>
=== Return values ===
+
=== <translate>Return values</translate> ===
'''Returns''' (string) <translate>The current locale.</translate><br/>
+
'''<translate>Returns</translate>''' (string) <translate>The current locale.</translate><br/>
 +
 
 +
{{FBInstant}}

Latest revision as of 14:27, 13 July 2023