Phaser API Documentation

  Version: 
<nullable> locale: string

Description:

The current locale. See https://origincache.facebook.com/developers/resources/?id=FacebookLocales.xml for a complete list of supported locale values. Use this to determine what languages the current game should be localized with. This value is populated automatically during boot.

Type:
string
Since: 3.13.0