LocalesIntl extension

Extension methods for handling internationalization within GetX.

on

Properties

fallbackLocale Locale?

Available on GetInterface, provided by the LocalesIntl extension

Gets the fallback locale.
getter/setter pair
locale Locale?

Available on GetInterface, provided by the LocalesIntl extension

Gets the current locale.
getter/setter pair
translations Map<String, Map<String, String>>

Available on GetInterface, provided by the LocalesIntl extension

Gets the translations.
no setter

Methods

addTranslations(Map<String, Map<String, String>> tr) → void

Available on GetInterface, provided by the LocalesIntl extension

Adds translations.
appendTranslations(Map<String, Map<String, String>> tr) → void

Available on GetInterface, provided by the LocalesIntl extension

Appends translations.
clearTranslations() → void

Available on GetInterface, provided by the LocalesIntl extension

Clears all translations.