[Mono-bugs] [Bug 78032][Wis] Changed - Mono.Unix.Catalog handling of plurals insufficient

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Apr 10 07:21:44 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by jonpryor at vt.edu.

http://bugzilla.ximian.com/show_bug.cgi?id=78032

--- shadow/78032	2006-04-06 00:55:57.000000000 -0400
+++ shadow/78032.tmp.31488	2006-04-10 07:21:44.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 78032
 Product: Mono: Class Libraries
 Version: unspecified
 OS: All
 OS Details: 
-Status: NEW   
+Status: NEEDINFO   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Wishlist
 Component: Mono.POSIX
 AssignedTo: miguel at ximian.com                            
 ReportedBy: rcasha at waldonet.net.mt               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -23,6 +23,20 @@
 11-il tip (11-19, 111-119 etc)
 20 tip (all others)
 
 There are various other languages in which there are more than one string
 for plurals. Is there any chance for this to be handled, maybe like KDE
 does it?
+
+------- Additional Comments From jonpryor at vt.edu  2006-04-10 07:21 -------
+Mono.Unix.Catalog is just a wrapper over ngettext(3), and ngettext(3)
+only takes singular and plural string forms:
+
+char * ngettext (const char * msgid, const char * msgid_plural,
+                        unsigned long int n);
+
+So it's not possible to do this while sticking with ngettext(3), and
+the use of gettext (and gettext message catalogs) is the major point
+to Catalog.
+
+How does KDE handle this?  Does it handle things internally, or does
+it use some gettext extension functions which I'm not aware of?


More information about the mono-bugs mailing list