Skip to content

feat: Add locale keys validation script #166

Closed

Description

@O2sa

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! ✨

Activity

  1. rue-eru commented on Jun 22, 2026

    @rue-eru
    Contributor

    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.

  2. github-actions commented on Jun 22, 2026

    @github-actions

    🎉 Issue assigned to @rue-eru! Happy coding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions