The AN_Locale object represents a specific geographical, political, or cultural region. An operation that requires a Locale to perform its task is called locale-sensitive and uses the Locale to tailor information for the user. The GetDefault method gets the current value of the default locale for this instance of the Java Virtual Machine.
The Java Virtual Machine sets the default locale during startup based on the host environment. It is used by many locale-sensitive methods if no locale is explicitly specified.
See the code snippet how to print locale info below:
using SA.Android.App.Utils; ... var currentLocale = AN_Locale.GetDefault(); Debug.Log("currentLocale.CountryCode: " + currentLocale.CountryCode); Debug.Log("currentLocale.CurrencyCode: " + currentLocale.CurrencyCode); Debug.Log("currentLocale.LanguageCode: " + currentLocale.LanguageCode); Debug.Log("currentLocale.CurrencySymbol: " + currentLocale.CurrencySymbol);