Get a list of missing translations from nuxt i18n - v9 #3233
Replies: 3 comments 1 reply
-
I found a way to hack Nuxt3 via Plugin. So there should be a solution in the Config. My Plugin for Nuxt 3: |
Beta Was this translation helpful? Give feedback.
-
I guess you should run a script with your translation files: your approach will force you to visit all pages per locale. If you're using json files you can check this module https://github.com/elk-zone/elk/blob/main/scripts/prepare-translation-status.ts To run the script (via You can change it to load js/ts files. The result can be found here: https://docs.elk.zone/guide/contributing#translation-status (missing and outdated keys) |
Beta Was this translation helpful? Give feedback.
-
i just wrote a few lines. Iam using PocketBase.io for the Translations so i:
But it would be nice to add a flag for a missing translation stored in the i18n folder with key for the translation. |
Beta Was this translation helpful? Give feedback.
-
Iam currently looking for a way to find all missing translations.
So i can provide translations for that.
Iam using v9.
Tried to add onMissing callback to the config, but doesnt work
Was looking with Chatgpt for a solution but doesnt find one.
Would appreciate any help on this, maybe there is a config option for this.
Beta Was this translation helpful? Give feedback.
All reactions