fix(l10n): escape apostrophe in Italian ARB plural string#1097
Merged
Conversation
ICU message format treats single quotes as escape characters. Unescaped apostrophe in `dell'ultimo` caused ICU lexing error and broke gen_localizations during the Android build. Fix: replace `'` with `''` in the affected plural form.
ICU message format treats ASCII ' as an escape character, causing a lexing error in gen_localizations during CI Android build. Fix: replace the ASCII apostrophe in `dell'ultimo` with U+2019 RIGHT SINGLE QUOTATION MARK, which is not an ICU syntax character. Visual output is unchanged. Regenerated app_localizations_it.g.dart accordingly.
digiboridev
approved these changes
Apr 10, 2026
SERDUN
added a commit
that referenced
this pull request
Apr 10, 2026
* fix(l10n): escape apostrophe in Italian ARB plural string ICU message format treats single quotes as escape characters. Unescaped apostrophe in `dell'ultimo` caused ICU lexing error and broke gen_localizations during the Android build. Fix: replace `'` with `''` in the affected plural form. * fix(l10n): replace ASCII apostrophe with U+2019 in Italian ARB plural ICU message format treats ASCII ' as an escape character, causing a lexing error in gen_localizations during CI Android build. Fix: replace the ASCII apostrophe in `dell'ultimo` with U+2019 RIGHT SINGLE QUOTATION MARK, which is not an ICU syntax character. Visual output is unchanged. Regenerated app_localizations_it.g.dart accordingly.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
app_it.arbthat caused Android build failure in CI'indell'ultimowas being parsed as an ICU escape character''per ICU message format specRoot cause
Test plan
flutter gen-l10nlocally — should complete without errorsgen_localizationsstep should pass