Search GimmeJob

Type at least 2 characters. Enter also searches by meaning.
QA interview question
Web, API & dataMiddleOccasionalTest design

Why is testing only singular and plural English forms insufficient?

Answer

Plural categories vary by locale and may include zero, one, two, few, many and other; decimals can follow different rules from integers. Use the locale's CLDR rules and test minimal representative values around category changes, including 0, teens, numbers ending in 1 or 2, and fractions where relevant. Verify the whole translated message because nouns, verbs and cases may all change.

Strong answer includes

  • knows plural categories are locale-specific
  • tests values around rule transitions and fractions
  • validates complete messages rather than isolated nouns

Practical example

Ukrainian needs three plural forms for a message like '{n} files' — one file, two/three/four files, and five-plus files — so a translation system built only for English one/other pairs renders '5 файл' instead of '5 файлів' unless the pluralization logic actually implements CLDR's few/many/other categories for uk.

#localization#pluralization#unicode#web-qa

Sources

Unicode CLDR plural and locale dataUnicode Consortium · Locale formats, plural categories and representative localization cases