You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (_lookupMessagesMap[_locale] == null) {
print("Locale [$_locale] has not been added, using [$_default] as fallback. To add a locale use [setLocaleMessages]");
}
Thanks in advance for your help.
Regards.
The text was updated successfully, but these errors were encountered:
Hello,
Using for exemple :
I get this error :
I/flutter ( 3259): Locale [fr] has not been added, using [en] as fallback. To add a locale use [setLocaleMessages]
Could you please check your published package if there is a typo ?
I think the problem come from this two parts of your timeago.dart source file :
void setLocaleMessages(String locale, LookupMessages lookupMessages) {
_lookupMessagesMap[locale] = lookupMessages;
}
if (_lookupMessagesMap[_locale] == null) {
print("Locale [$_locale] has not been added, using [$_default] as fallback. To add a locale use [setLocaleMessages]");
}
Thanks in advance for your help.
Regards.
The text was updated successfully, but these errors were encountered: