From da8774801bf03cce6be6a22233d447dbb959380c Mon Sep 17 00:00:00 2001 From: Priyanshu Date: Mon, 13 Jul 2026 20:19:06 +0530 Subject: [PATCH] fix(mobile): correct person age singular pluralization (#29868) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The ICU plural string for person_age_years in i18n/en.json only defined the other plural category, so the intl MessageFormat runtime always fell back to it — displaying '1 years old' instead of '1 year old'. Added the missing one plural category: Before: {years, plural, other {# years}} old After: {years, plural, one {# year} other {# years}} old No Dart source changes required. formatAge already uses the localization system correctly. Fixes #29865 Co-authored-by: priyanshuANDcoad --- i18n/en.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/en.json b/i18n/en.json index 5f8509b4c7..7a3e719f6d 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -1621,7 +1621,7 @@ "person": "Person", "person_age_months": "{months, plural, one {# month} other {# months}} old", "person_age_year_months": "1 year, {months, plural, one {# month} other {# months}} old", - "person_age_years": "{years, plural, other {# years}} old", + "person_age_years": "{years, plural, one {# year} other {# years}} old", "person_birthdate": "Born on {date}", "person_hidden": "{name}{hidden, select, true { (hidden)} other {}}", "person_recognized": "Person recognized",