nuxt-modules / i18n

I18n module for Nuxt
https://i18n.nuxtjs.org
MIT License
1.74k stars 478 forks source link

Is there any way to spot missing messages? #3147

Open PaulCombal opened 1 month ago

PaulCombal commented 1 month ago

Describe the feature

Assuming the following example:

<i18n>
en:
  apple: Apple
  pie: Pie
fr:
  apple: Pomme
</i18n>

Is there any command that would allow me to easily spot that the "pie" key is missing on the "fr" locale on that component?

This would be incredibly useful, what are the other possible solutions? Manually comparing every key of every locale on every page is too tough of a job..

Thank you

Additional information

Final checks

darthf1 commented 4 weeks ago

Theres an eslint rule for that: https://eslint-plugin-vue-i18n.intlify.dev/rules/no-missing-keys-in-other-locales.html