Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Skip to main content
The I18NManager API provides functionality that allows you work with to Locale and Timezone settings.

I18NManager example

The following example demonstrates the ability to set timezone and locale values, as well as to setup listeners to be able to update when those values are changed at any time.

I18NManager methods

getAppLocale

Gets the app’s locale setting. If the app’s locale is not set, the system locale is returned.

setAppLocale

Sets the app’s locale.

getSystemLocale

Gets the system’s locale setting.

resetLocale

Resets the app locale back to the system locale.

getTimezone

Gets the app’s timezone setting. If the app’s timezone is not set, the system timezone is returned.

setTimezone

Sets the apps’s timezone. Parameters:

getSystemTimezone

Gets the system’s timezone setting.

resetTimezone

Resets the App timezone back to the system timezone.

addListener

Adds a listener for locale or timezone change. Listener id triggered when another app changes the locale or timezone. Parameters: eventName This can be any of the following values:
  • I18nManager.SettingEventName.Locale
  • I18nManager.SettingEventName.Timezone

removeListeners()

Removes all added event listeners from the I18NManager object.

Additional resources

Internationalization and Localization
Last modified on September 30, 2025