Request for help (testing) with ticket #3594

17 views
Skip to first unread message

Malcolm Tredinnick

unread,
Mar 12, 2007, 5:17:07 AM3/12/07
to Djang...@googlegroups.com
Does anybody have an internationalised site that uses Javascript (and
translations thereof) as well?

I am looking for an easy way to confirm that the problem in #3594
exists, without having to do masses of setup myself. If somebody can
confirm this, I'll do the work to create a test site for myself, but I'm
hoping I might be able to be a little lazy and use the group mind first.

Thanks,
Malcolm

everes

unread,
Mar 12, 2007, 1:10:18 PM3/12/07
to Django I18N
Hi Malcolm,I had reproduced in rev 4713.

The problem seems to lie on django.i18n.javascript_catalog();
since catalog=gettext_... returns empty catalog
(due to empty translations in en/djangojs.po),
it fallbacks to translation in default language.

thanks,
makoto tsuyuki

Malcolm Tredinnick

unread,
Mar 12, 2007, 4:01:41 PM3/12/07
to Djang...@googlegroups.com
On Mon, 2007-03-12 at 10:10 -0700, everes wrote:
> Hi Malcolm,I had reproduced in rev 4713.
>
> The problem seems to lie on django.i18n.javascript_catalog();
> since catalog=gettext_... returns empty catalog
> (due to empty translations in en/djangojs.po),
> it fallbacks to translation in default language.

Excllent. Thanks for the rapid feedback. We should fix that, then.

Regards,
Malcolm


TT

unread,
May 4, 2007, 6:17:26 AM5/4/07
to Django I18N
Hi,

I made patch for this. Maybe some one would make some tests and
confirm it works for us all.

http://code.djangoproject.com/attachment/ticket/3594/javascript_translation.patch

Timo

Reply all
Reply to author
Forward
0 new messages