Skip to content

LocaleChangeEvent

Inherits: Event['Page']

Event payload describing a change in the host platform's locale preferences.

See also: - Page.on_locale_change: event called when locale preferences/settings of the host platform have changed.

Properties

  • locales(list[Locale]) –

    The full, ordered list of locales reported by the host platform.

Properties#

locales instance-attribute #

locales: list[Locale]

The full, ordered list of locales reported by the host platform.

The first item represents the highest-priority locale.