Difference between revisions of "FBInstant.getLocale"

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

Revision as of 08:29, 24 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.