{"data":{"slug":"github-thedaviddias-front-end-checklist-skills-pluralization-3ad6a7c7c4c4","title":"Ensure Correct Pluralization Across Locales","summary":"Ensure plural forms are handled correctly for all target locales by using Intl.PluralRules or ICU MessageFormat, avoiding string concatenation with counts.","url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-pluralization-3ad6a7c7c4c4","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-thedaviddias-front-end-checklist-skills-pluralization-3ad6a7c7c4c4","markdown_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-pluralization-3ad6a7c7c4c4.md","download_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-pluralization-3ad6a7c7c4c4\/download","category":{"slug":"content-editorial","name":"Content & Editorial"},"editor_note":"Review translation files and components that render counts. Flag any strings that concatenate a number with text, any ternary that picks only between 'singular' and 'plural', and any i18next or react-intl message that is missing plural keys required by the target locale.","instructions":"---\nname: pluralization\ndescription: \"Use when reviewing string concatenation involving counts, translation key lookups, or i18n library configurations to check whether plural forms are handled correctly for all target locales.\"\nmetadata:\n  category: i18n\n  priority: medium\n  difficulty: intermediate\n  estimatedTime: \"25\"\n  source: frontendchecklist.io\n  url: https:\/\/frontendchecklist.io\/rules\/i18n\/pluralization\n---\n\n# Handle plural forms with Intl.PluralRules or ICU MessageFormat\n\nPluralization rules vary dramatically across languages \u2014 what works as a simple singular\/plural branch in English produces grammatically wrong output in Arabic, Russian, Polish, and dozens of other languages. Shipping incorrect plurals signals low translation quality and breaks trust with native speakers in target markets.\n\n## Quick Reference\n\n- English has 2 plural forms but Arabic has 6 and Russian has 3\n- Never concatenate a count with a string like '\"You have \" + count + \" items\"'\n- Use Intl.PluralRules to select the right message key per locale\n- ICU MessageFormat in react-intl or i18next handles plural selection automatically\n\n## Check\n\nFind all places in this codebase where a count value is concatenated with a string or where only singular\/plural branching is used, without Intl.PluralRules or ICU plural syntax.\n\n## Fix\n\nReplace count string concatenation and binary singular\/plural logic with Intl.PluralRules-based key selection or ICU MessageFormat plural syntax so that all CLDR plural categories are covered for every target locale.\n\n## Explain\n\nExplain why languages have different numbers of plural forms, what CLDR plural categories are, and how Intl.PluralRules and ICU MessageFormat solve pluralization correctly across locales.\n\n## Code Review\n\nReview translation files and components that render counts. Flag any strings that concatenate a number with text, any ternary that picks only between \"singular\" and \"plural\", and any i18next or react-intl message that is missing plural keys required by the target locale.\n\n---\n\nFor full implementation details, code examples, and framework-specific guidance,\nsee `references\/rule.md`.\n\nRule page: https:\/\/frontendchecklist.io\/rules\/i18n\/pluralization\n","use_cases":["Reviewing string concatenation involving counts","Translation key lookups for plural forms","i18n library configurations for plural handling"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/thedaviddias\/Front-End-Checklist\/blob\/e8d14d049010e2ce25afcd5e8609dfcbbe63e47e\/skills\/pluralization\/SKILL.md","source_commit":"e8d14d049010e2ce25afcd5e8609dfcbbe63e47e","license":null,"version":null,"listing_approved_at":"2026-11-24","created_at":"2026-11-23T05:15:40.000000Z","updated_at":"2026-11-24T07:12:05.000000Z","seo_title":"Fix pluralization errors in i18n","seo_description":"Ensure pluralization is handled correctly across all locales using Intl.PluralRules or ICU MessageFormat.","seo_keywords":["fix pluralization errors","i18n pluralization","handle plural forms","Intl.PluralRules","ICU MessageFormat","correct pluralization"]}}