The Airship SDK provides localization for interactive notification buttons and the Message Center for the following languages: English, Chinese (Traditional), Chinese (Simplified), German, Hungarian, Slovak, Russian, Portuguese (Portugal), Portuguese (Brazil), French, Danish, Turkish, Norwegian, Romanian, Polish, Finnish, Dutch, Hindi, Spanish (Latin American), Spanish (Spain), Hebrew, Czech, Italian, Vietnamese, Thai, Japanese, Arabic, Korean, Malay, Indonesian, and Swedish.
Airship uses the user’s locale for various locale-sensitive tasks, including selecting the language for In-App Automation messages and reporting for analytics. Apps can override the locale so that Airship uses a different locale than the device’s current locale. Note: Airship UI localization uses the device’s current locale, so it is not affected by the override.
UAirship.shared().locale.currentLocale = Locale(identifier:"de")
[UAirship shared].locale.currentLocale = [NSLocale localeWithLocaleIdentifier:@"de"];
[[UAirship shared].locale clearLocale];
let airshipLocale = UAirship.shared().locale.currentLocale
NSLocale *airshipLocale = [UAirship shared].locale.currentLocale;