Electronics & Programming


Open Source electronics development and programming

  • You are not logged in.

#1 March 23, 2008 21:58:59

Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Javascript i18n bug?

Thanks Ramiro, both patches are great!
I've just left a small comment about the doc patch.



On Mar 24, 7:24 am, "Ramiro Morales" <> wrote:
> Julien,
> On Sat, Mar 22, 2008 at 9:00 PM, Julien <> wrote:
> > Hi,
> > In fact, I'm using my own po file, and the plural rule is exactly the
> > same one as you've mentioned above. So, I've changed the rule to:
> > "Plural-Forms: nplurals=2; plural=(n > 1)?1:0;\n"
> Glad to see it' working for you now. Sorry for trying to help
> without grasping all the details.
> I've tried to solve it in a similar way but at a different point to be safe
> in
> the case an author of a (Django or app) djangojs.po catalog specifies
> Plural-Forms: nplurals=2; plural=n>1;
> instead of
> Plural-Forms: nplurals=2; plural=n>1 ? 1 : 0;
> because the first form (the one that relies on the "feature of C
> expressions that boolean
> expressions have to value zero or one.") is shown in the official GNU
> gettext
> documentation.
> I've opened ticket #6864 with a patch attached. could you give it a try?.
> > Also, I've spotted another glitch in the doc, which I've reported in
> > the ticket you've opened:http://code.djangoproject.com/ticket/6859>
> I've updated the patch, do you think it's Ok?, thanks!.
> Regards,
> --
> Ramiro Morales
> 1.http://www.gnu.org/software/gettext/manual/html_node/Plural-forms.htm...
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en-~----------~----~----~----~------~----~------~--~---


Board footer

Moderator control

Enjoy the 23rd of March

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support