Add fallbackRootWithEmptyString when languages have empty strings

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2022-03-23 12:32:18 +01:00
parent f5e6e51817
commit ed4a55b4b6
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -49,6 +49,7 @@ export const i18n = new VueI18n({
fallbackLocale: DEFAULT_LOCALE, fallbackLocale: DEFAULT_LOCALE,
formatFallbackMessages: true, formatFallbackMessages: true,
pluralizationRules, pluralizationRules,
fallbackRootWithEmptyString: true,
}); });
console.debug("set VueI18n with default locale", DEFAULT_LOCALE); console.debug("set VueI18n with default locale", DEFAULT_LOCALE);