fallbackLocale property

  1. @override
String get fallbackLocale
override

The locale tried when the requested one has no message ('' for none): defaultLocale here. ReloadableResourceBundleMessageSource uses the system locale when there is no default locale, as Spring's AbstractResourceBasedMessageSource.getDefaultLocale().

Implementation

@override
String get fallbackLocale => defaultLocale.isNotEmpty
    ? defaultLocale
    : fallbackToSystemLocale
    ? Locales.systemLocale
    : '';