utils/locale_utils library

Functions

isGermanLocale(dynamic context) → bool
Checks if the current locale is German, whatever its country (de, de_AT, de_CH).
localizedValue<T>(dynamic context, {required T de, required T en}) → T
de under a German locale, else en.