Skip to content

I18n/locale check#155

Merged
RUKAYAT-CODER merged 5 commits into
rinafcode:mainfrom
Trovic1:i18n/locale-check
Apr 25, 2026
Merged

I18n/locale check#155
RUKAYAT-CODER merged 5 commits into
rinafcode:mainfrom
Trovic1:i18n/locale-check

Conversation

@Trovic1
Copy link
Copy Markdown
Contributor

@Trovic1 Trovic1 commented Apr 23, 2026

Summary

Adds a locale validation script (scripts/check-locales.mjs) that scans src/locales and auto-fills missing keys using English fallbacks, integrates a prebuild hook in package.json to run the checker at build time, and adds runtime warnings in src/hooks/useInternationalization.tsx to log missing keys for non-English locales.

Related Issue

Closes #138

Type of change

  • Feature
  • Bug fix
  • Chore / Refactor
  • Docs

Testing

  • Ran node scripts/check-locales.mjs — no missing keys reported.
  • Recommended before merging: run
    • npm run type-check
    • npm run lint
    • npm run test
    • npm run build

Quality gate checklist

  • CI checks pass (Frontend CI)
  • At least 1–2 approvals (per branch protection rules)
  • Branch is up-to-date with the base branch
  • All conversations resolved
  • PR description includes Closes #138

@RUKAYAT-CODER
Copy link
Copy Markdown
Contributor

Kindly resolve conflict and fix CI

1 similar comment
@RUKAYAT-CODER
Copy link
Copy Markdown
Contributor

Kindly resolve conflict and fix CI

@RUKAYAT-CODER RUKAYAT-CODER merged commit a77ad06 into rinafcode:main Apr 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Internationalization - Missing Keys

2 participants