Top "Plural" questions

Pertaining to handling text that must change depending on the number of items involved, according to the rules of different languages.

Enum Naming Convention - Plural

I'm asking this question despite having read similar but not exactly what I want at C# naming convention for enum …

c# .net enums naming-conventions plural
JavaScript pluralize an english string

In PHP, I use Kuwamoto's class to pluralize nouns in my strings. I didn't find something as good as this …

javascript pluralize plural
i18n Pluralization

I want to be able to translate pluralized strings in i18n in rails. A string can be : You have 2 …

ruby-on-rails internationalization rails-i18n pluralize plural
function switching between singular and plural?

I'm looking for a function that given a string it switches the string to singular/plural. I need it to …

php singular plural
Converting plural to singular in a text file with Python

I have txt files that look like this: word, 23 Words, 2 test, 1 tests, 4 And I want them to look like this: …

python text stemming plural singular
How to use Android quantity strings (plurals)?

I am trying to use getQuantityString method in Resources to retrieve Quantity Strings (Plurals) based on android developer guidelines Quantity …

android string android-resources plural
Java internationalization (i18n) with proper plurals

I was going to use Java's standard i18n system with the ChoiceFormat class for plurals, but then realized that …

java internationalization plural messageformat
How to pluralize "There is/are N object/objects"?

Pluralizing a single word is simple: pluralize(@total_users, "user") But what if I want to print "There is/are …

ruby-on-rails ruby-on-rails-3.1 inflection plural
Plural definition is ignored for zero quantity

I use plurals to compile a quantity string for an Android application. I follow exactly what one can find in …

android android-xml android-resources plural
Android Plural Strings with multiple Parameters

In Android strings, you can define plurals to handle translations depending on the actual number supplied to the string as …

android internationalization translation plural