Hi Xavier, You seem to be asking multiple questions here, I'll give some feedback and hopefully we can get to the root of the problem.
On Tue, 2007-11-20 at 16:24 -0300, Xavier Alvarez wrote: > Hi, > > I'm being notified of the following error after noting that the > developers were doing plural handling by code instead of gettext: > > > The error appears to originate in a common file to all these > > activities: "/usr/lib/python2.5/gettext.py" > > > > build error report in all modules is: > > > > File "/usr/lib/python2.5/gettext.py", line 93, in c2py > > > > raise ValueError, 'plural forms expression could be dangerous' We use the Python gettext.py when working with the Pootle server translations. That is for the translation of the Pootle interface, this is not used by any other projects that you host. We do this to allow Pootle to be translated live and thus we don't use gettext which requires .mo files. I haven't seen this error before. Did you add a plural equation for any of the languages that you are hosting or is this with a default setup? What language are you using when you access Pootle? Is this one that you added? > I'm assuming that some of the formulas in the POs are invalid... > which happens in many (all?) of the POs initially generated by > Pootle, even when a valid formula has been declared for the > language the result is: > > "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" > > Forcing an update from templates fails to rectify it. When you say generated are these files that you have initialised within Pootle? I saw a commit from Friedel to not add 'Plural-Forms' if the template has none. > Solutions? I need a better understanding of the problem. If you can help me replicate it then that would help. -- Dwayne Bailey Translate.org.za +27-12-460-1095 (w) +27-83-443-7114 (cell) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Translate-pootle mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/translate-pootle
