feature/i18n #9

Merged
njooris merged 7 commits from feature/i18n into master 2026-10-28 09:58:54 +00:00
Owner
No description provided.
- new namespaces game, map and hub in fr, en and de, close added to common
- zone and game mode labels are translation keys built from their id,
  label and description are removed from the data
- "N pays" uses i18next plurals (countries_one / countries_other)
- CountryList names the countries in the current language instead of English
- LanguageSwitcher shows the detected language instead of always English

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- new namespaces game, map and hub in fr, en and de, close added to common
- zone and game mode labels are translation keys built from their id,
  label and description are removed from the data
- "N pays" uses i18next plurals (countries_one / countries_other)
- CountryList names the countries in the current language instead of English
- LanguageSwitcher shows the detected language instead of always English

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- findLabelLanguage takes the i18next language instead of reading the browser
- setLabelLanguage updates the country and region labels without rebuilding the layers
- Globe calls it when the language changes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
njooris approved these changes 2026-10-28 09:54:46 +00:00
njooris left a comment

lgtm

lgtm
njooris scheduled this pull request to auto merge when all checks succeed 2026-10-28 09:54:53 +00:00
njooris merged commit 55c8c10731 into master 2026-10-28 09:58:54 +00:00
njooris deleted branch feature/i18n 2026-10-28 09:58:54 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Terranaut/frontend!9
No description provided.