Difference between revisions of "FBInstant.getLocale"
From GiderosMobile
Line 10: | Line 10: | ||
(string) = FBInstant.getLocale() | (string) = FBInstant.getLocale() | ||
</source> | </source> | ||
+ | === Return values === | ||
'''Returns''' (string) The current locale.<br/> | '''Returns''' (string) The current locale.<br/> |
Revision as of 10:46, 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.