internationalization/internationalization library
Classes
- Translations
- The base abstract class used for providing localized translations to the app.
Enums
- PluralCase
- The CLDR plural categories used to pick the correct plural form of a translation key for a given count.
Extensions
- LocalesIntl on GetInterface
- Trans on String
Constants
-
rtlLanguages
→ const List<
String> - A predefined list of languages that are natively read Right-to-Left (RTL).
Typedefs
- PluralResolver = PluralCase Function(int count, Locale? locale)
-
Maps a
countunderlocaleto the PluralCase whose translation should be used. Installed through LocalesIntl.pluralResolver.