You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a small script that validates all locale JSON files contain the same set of keys as locales/en.json. This helps keep translations in sync and is a useful CI check.
Tasks
Add a script scripts/validate-locales.js that loads locales/en.json and validates other locales/*.json files contain the same keys (report missing/extra keys).
Add an npm script validate-locales to package.json to run the script.
Optionally add the script to CI to fail on mismatched keys.
Tip
🚀 Want to contribute?
Comment assign me to be automatically assigned to this issue via our GitHub Actions bot. Happy coding! ✨
assign me 😌
Hi! I'd like to work on this issue. I have experience with Next.js and i18n. I have worked with similar projects and the task looks pretty interesting to me! I would love to try.
Activity
rue-eru commentedon Jun 22, 2026
assign me 😌
Hi! I'd like to work on this issue. I have experience with Next.js and i18n. I have worked with similar projects and the task looks pretty interesting to me! I would love to try.
github-actions commentedon Jun 22, 2026
🎉 Issue assigned to @rue-eru! Happy coding!
feat: add locale keys validation script (O2sa#166)
feat: add locale keys validation script (#166) (#168)