I have gone through the documentation and found "fallbackLocale" property which will be used if the key doesn't exist in desired locale during trnsalation. But It would be awesome when there is fallback for the fallbackLocale.
In the above configuration if the key doesn't exist in ja, It will check for en
What if the doesn't exist in en also? It will print the path of the property which looks ugly to the end user. So I think we need something similar to the following
$t("property.nestedProperty.hello", { fallbackMessage: 'A clear fallback message' })
Hello,
I have gone through the documentation and found "fallbackLocale" property which will be used if the key doesn't exist in desired locale during trnsalation. But It would be awesome when there is fallback for the fallbackLocale.
Example:
const i18n = new VueI18n({ locale: 'ja', fallbackLocale: 'en', messages })
In the above configuration if the key doesn't exist in ja, It will check for en What if the doesn't exist in en also? It will print the path of the property which looks ugly to the end user. So I think we need something similar to the following $t("property.nestedProperty.hello", { fallbackMessage: 'A clear fallback message' })
vue & vue-i18n version
ex: 2.1.0, 5.0
Reproduction Link
Steps to reproduce
What is Expected?
What is actually happening?