Skip to content

i18n: add Galician (gl) translation - #507

Open
B1NAR10 wants to merge 1 commit into
nxzai:mainfrom
galician-translators:feat/i18n-galician-translation
Open

B1NAR10 wants to merge 1 commit into
nxzai:mainfrom
galician-translators:feat/i18n-galician-translation

Conversation

@B1NAR10

@B1NAR10 B1NAR10 commented Nov 9, 2026

Copy link
Copy Markdown

Hi @vikramsoni2,

This pull request adds the Galician (gl) localization to NextExplorer.

Summary of Changes

  • New translation catalogue: Added frontend/src/i18n/locales/gl.json with complete key parity against en.json (1,201 keys across all sections).
  • Plurals & Placeholders: Preserved all placeholders ({count}, {name}, {size}, {minutes}, etc.) and 2-form plural rules (singular | plural).
  • Locale configuration: Added gl to preferredLocaleOrder in frontend/src/i18n/index.js.
  • Test coverage:
    • Added gl to TWO_FORM_LANGUAGES in frontend/src/i18n/catalogues.spec.js.
    • Added locale detection test for Galician in frontend/src/i18n/detectLocale.spec.js.
    • All 121 frontend i18n tests and backend frontend-string parity tests pass cleanly.

Ready for review and merge. Thanks!

Add Galician (gl) translation catalogue with full parity (1201 keys), placeholders and plural forms preserved.

- Add frontend/src/i18n/locales/gl.json
- Add gl to preferredLocaleOrder in frontend/src/i18n/index.js
- Add gl to TWO_FORM_LANGUAGES in frontend/src/i18n/catalogues.spec.js
- Add locale detection test for gl in frontend/src/i18n/detectLocale.spec.js

This branch has not been deployed

No deployments
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.

1 participant