Skip to content

Fix ICU message format not supported for fallback locale - #378

Merged
monteiro merged 1 commit into
willdurand:masterfrom
RubenKruiswijk:fix-icu-fallback
Mar 6, 2026
Merged

monteiro merged 1 commit into
willdurand:masterfrom
RubenKruiswijk:fix-icu-fallback

Conversation

@RubenKruiswijk

@RubenKruiswijk RubenKruiswijk commented Mar 5, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #332

@monteiro
monteiro self-requested a review March 6, 2026 16:39
@monteiro
monteiro merged commit 6fbd01d into willdurand:master Mar 6, 2026
9 checks passed
AntoineLemaire added a commit to Yoopies/BazingaJsTranslationBundle that referenced this pull request Oct 5, 2026
The French fallback was checked right after the exact locale, before
the parent locale: on a "de_DE" page, a message missing from the
"de_DE" catalogue was translated in French instead of falling back to
"de". It is removed, the fallback order is now the upstream one:
locale > country > fallback locale (en). translator.js is back to the
upstream version.

translator.min.js is regenerated: it lacked the ICU locale fallback
(willdurand#378).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.

ICU message format not supported for fallback locale

2 participants