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
That's absolutely correct, there's a bug when the locale is different than the fallback it won't load the fallback.
An hack for that is:
const{ i18n, locale }=useI18n({locale: "en",// force it to load the fallback localefallback: "en",messages: {en: {hello: "Hello"},jp: {}},notFoundFallback: true});// change to the correct localelocale.value="jp";
that will make it work. I'm working on a fix and I should release in the next few hours.
The I18n module should fallback to the fallback locale, but it isn't.
{{ i18n.hello }} <!-- should be 'Hello' on jp locale -->
In the jp locale, it returns nothing. Am I missing something?
The text was updated successfully, but these errors were encountered: