On Thu, Sep 4, 2008 at 11:23 AM, dh <[EMAIL PROTECTED]> wrote: > > Hello Matt, > > ok, i just changed that and one error i got through the previous > mentioned method has gone away. > There Habari wouldn't translate the plural form for "comment / comments" > via _n(xxx, yyy); > That works now.
That could be that you did not set your plural function keywords correctly. in the main habari template (POT), for english, the keywords are: _n:1,2;_ne:1,2;_t;_e Basically, says that the string being fed to the translation (which are english) have one sigular (first arg) and one plural (second arg). ie. _n:1,2 > Btw.: is it really necessary to use the domain name in each gettext > function? I currently don't use any domain-name there as a parameter and > it works... Yes. Seems you answered that though ;) --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/habari-users -~----------~----~----~----~------~----~------~--~---
