Pluralization and text variations are essential for natural-sounding translations. Different languages use different rules — for example, English typically distinguishes between singular and plural (“1 file” vs. “2 files”), while other languages, like Polish or Arabic, have three or more plural forms.
With Xcode’s String Catalog, you can define plural and variant strings directly within the catalog instead of creating multiple separate keys. For example, you might create a single entry for FileCount that includes:
"%d file", other = "%d files""%d plik", few = "%d pliki", many = "%d plików", other = "%d pliku"The catalog ensures these rules are applied consistently across all supported languages.
Variations can also be defined for context, such as different messages depending on gender or device type. This keeps everything structured in one place and avoids the confusion of multiple scattered .strings entries.
With Localazy’s integration, pluralization and variations become even easier to manage:
This combination makes plural handling smooth, efficient, and reliable — especially when scaling your app to multiple languages.
Please help us with improving our documentation.
We appreciate all your feedback.