i18next library

Classes

AssetBundleLocalizationDataSource
A LocalizationDataSource that retrieves assets from an AssetBundle.
I18Next
It translates the i18next localized format in your localization objects (provided by resourceStore) to the final translation.
I18NextLocalizationDelegate
A factory for the localized resource I18Next that is loaded by a Localizations widget.
I18NextOptions
Contains all options for I18Next to work properly.
InterpolationFormat
A parsed format from a string.
LocalizationDataSource
ResourceStore
This store handles the access to a specific resource (e.g. String) or a bundle (e.g. namespaces) depending on the levels transversed.

Typedefs

EscapeHandler = String Function(String input)
MissingKeyHandler = String? Function(Locale locale, String key, Map<String, dynamic> variables, I18NextOptions options)
TranslationFailedHandler = String Function(Locale locale, String namespace, String key, Map<String, dynamic> variables, I18NextOptions options, Object error)
ValueFormatter = Object? Function(Object? value, InterpolationFormat format, Locale locale, I18NextOptions options)
The formatter signature for I18NextOptions.formats.