Sanskrit plural forms

Asked by Siva

The plural forms code for Sanskrit is as follows:

Plural-Forms: nplurals=3; plural=n==1 ? 0 : n==2 ? 1 : 2;

Sanskrit, like Irish Gaelic, has a singular, a dual, and a plural.

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Siva
Solved:
Last query:
Last reply:

This question was reopened

  • by Siva
Revision history for this message
Jeroen T. Vermeulen (jtv) said :
#1

Thank you. The information has been entered into the system.

Revision history for this message
Siva (sivakalyan-princeton) said :
#2

Thanks Jeroen T. Vermeulen, that solved my question.

Revision history for this message
Siva (sivakalyan-princeton) said :
#3

Actually, I ought to mention that in Sanskrit, "zero" is treated as singular, not plural, so "0 files" would be expressed with the equivalent of "No file". (It's like the Dutch "geen".)

Revision history for this message
Jeroen T. Vermeulen (jtv) said :
#4

The formula you gave uses the plural for the number zero. Should that be changed?

Revision history for this message
Siva (sivakalyan-princeton) said :
#5

On second thoughts, perhaps it's best to have a separate form for number zero. The best way to say "0 files" seems to be "an absence of files".

Revision history for this message
Jeroen T. Vermeulen (jtv) said :
#6

In other languages it's also quite unnatural to write "0 items," when you think about it. The awkwardness turns out to be acceptable, and language adapts to practicalities.

A good reason not to add a "zero form" is that we use C-style formatting to include numbers in number-sensitive strings: "%d file" / "%d files". The translation UI tries to check that the use of "%d" etc. is consistent across translations, so translating as "no file" / "%d file" / "%d files" would cause errors. You have to have the number in there.

Revision history for this message
Siva (sivakalyan-princeton) said :
#7

If that's the case, I think we should have zero as plural. That way I can use the partitive genitive, and say "0 of files", "3 of files", etc., but "1 file" and "2 files (dual)".