Difference between revisions of "FBInstant.getLocale"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2018.3<br/>
 
'''Available since:''' Gideros 2018.3<br/>
 
=== Description ===
 
=== Description ===
<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 />
 
<br />
 
<br />
 
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 />
+
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">
 
(string) = FBInstant.getLocale()
 
(string) = FBInstant.getLocale()
 
</source>
 
</source>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (string) The current locale.<br/>
+
'''Returns''' (string) <translate>The current locale.</translate><br/>

Revision as of 14:35, 23 August 2018

Available since: Gideros 2018.3

Description


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.

The locale string returned is a five-character Facebook locale code of the form xx_XX.

(string) = FBInstant.getLocale()

Return values

Returns (string) The current locale.