feat(i18n): improve update process#495
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
| "dev": "nuxt dev", | ||
| "dev:docs": "pnpm run --filter npmx-docs dev --port=3001", | ||
| "i18n:check": "node --experimental-transform-types scripts/compare-translations.ts", | ||
| "i18n:check:fix": "node --experimental-transform-types scripts/compare-translations.ts --fix", |
There was a problem hiding this comment.
we should run this in autofix.yml then 🙏
it already automatically strips unused keys, and it would be convenient if it also added new ones. maybe we don't even need the --fix suffix?
There was a problem hiding this comment.
With this PR, the translated text would be:
"create_account": "EN TEXT TO REPLACE: Create a new account"
To me, this is something you run manually when you want to update translations:
- Fill in all missing keys
- Have the English text by default, so you can immediately see what needs to be translated without switching files or hunting for keys
--fixoption to the script to simplify the update process (doc updated)frdoc at the same time