LocalesIntl extension

on

Properties

fallbackLocale Locale?

Available on SintInterface, provided by the LocalesIntl extension

getter/setter pair
locale Locale?

Available on SintInterface, provided by the LocalesIntl extension

getter/setter pair
pathTranslator PathTranslator?

Available on SintInterface, provided by the LocalesIntl extension

URL path translator (built when translateEndpoints: true).
getter/setter pair
translations Map<String, Map<String, String>>

Available on SintInterface, provided by the LocalesIntl extension

no setter

Methods

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

Available on SintInterface, provided by the LocalesIntl extension

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

Available on SintInterface, provided by the LocalesIntl extension

clearTranslations() → void

Available on SintInterface, provided by the LocalesIntl extension

loadTranslations(Future<Map<String, Map<String, String>>> loader()) Future<void>

Available on SintInterface, provided by the LocalesIntl extension

Loads translations asynchronously from a loader callback and merges them with existing translations (does not replace).