Locale

Configure locale behavior and override the default locale that Airship uses.

View as Markdown

By default, Airship uses the device locale to localize messaging. You can override the locale that Airship uses independently of the device locale.

Setting a locale override

Airship.Shared.locale.SetLocaleOverride("fr");

Clearing the locale override

Clearing the override reverts Airship to the device locale.

Airship.Shared.locale.ClearLocaleOverride();

Getting the current locale

string locale = Airship.Shared.locale.GetLocale();