Using a implicit fallback throws a warning in the console #1768
Labels
good first issue
Good for newcomers
help wanted
Extra attention is needed
🍰 p2-nice-to-have
Priority 2: nothing is broken but it's worth addressing
Status: PR Welcome
Welcome to Pull Request
Reporting a bug?
When using implicit fallback values it would make sense not to throw warnings because this is intended. Example:
You are using
en-GB
anden-US
as languages. You don't want to have duplicated snippets for almost the same language. So you are usingen
for all these snippets like in this guide: https://vue-i18n.intlify.dev/guide/essentials/fallback.html#implicit-fallback-using-localesBut now you still get warnings that there is no snippet defined. For non-implicit fallbacks, e.g. jp to en, this makes sense. But for implicit fallbacks this should not be the case.
Expected behavior
No console warning should be thrown.
Reproduction
https://stackblitz.com/edit/vitejs-vite-4qtyea?file=src%2Fmain.js
System Info
Screenshot
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: