Difference between revisions of "FBInstant.getLocale"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2018.3<br/> === Description === <br /> The current locale. See https://www.facebook.com/translations/FacebookLocales.xml for a complet...") |
|||
Line 8: | Line 8: | ||
<br /> | <br /> | ||
<source lang="lua"> | <source lang="lua"> | ||
− | (string) | + | (string) = FBInstant.getLocale() |
</source> | </source> | ||
'''Returns''' (string) The current locale.<br/> | '''Returns''' (string) The current locale.<br/> |
Revision as of 10:22, 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()
Returns (string) The current locale.