From: "Felix Antonius Wilhelm Ostmann" <ostm...@websuche.de> >i run into the same problem with german phrases > [quant,_1,message has,messages have] been sent. > > but in german: > > singular: Es wurde 1 Nachricht gesendet. > plural: Es wurden 10 Nachrichten gesendet. > > So i cant build that with normal quant ... and i was thinking about a > quantf :) > > > Es [quantf,_1,wurde %d Nachricht,wurden %d Nachrichten] gesendet. > > That would also fit for other languages where words get shuffled for > different counts, right? > > And you can use quantf only in that languages that need that. Others can > still use normal quant.
In Locale::Maketext I read that for more complex cases, the quant() method could be overriden. But making a quantf() method could be very helpful and it could also allow commify the number using the tools offered by Locale::Maketext. Octavian _______________________________________________ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/