Open everyx opened 5 months ago
Unfortunately, vue-i18n expects the message retrieved by tm
to be an array, and the use case expectation is to resolve it using rt
.
It also expects the messages retrieved in the array to have the same structure in this case en
and ja
.
If your application assumes a different message structure, as in this case, you will need to do the validation yourself.
Reporting a bug?
When a deep not exist current locale, but exist in fallback locale, it will throw error
Cannot read properties of null (reading 'xxx')
Expected behavior
Use the value from the fallback locale
Reproduction
https://stackblitz.com/edit/vitejs-vite-zkwein?file=src%2FApp.vue,src%2Fmain.ts
System Info
Screenshot
No response
Additional context
No response
Validations