I use Django 0.96 in a SuSE with Python 2.3.3.

I'm getting this JavaScript error: "gettext is not defined" when I try
to edit an object with date field in the admin site. I have seen that
occurs when calendar.js is trying to populate the month names in the
correct language. I use language_code = es_ES and default_charset =
utf-8 and i have configurated apache to use utf-8 as default charset.
I also have found with FireBug that really the error is a Django
error:

UnicodeEncodeError at /convenios/admin/jsi18n/
'ascii' codec can't encode character u'\xe9' in
position 23:

For this reason jsi18n doesn't load and i can't use gettext.

Otherwise, in an Ubuntu installation of Django, with same lang code,
and Python 2.5.1, all works fine.

Any idea?

Thanks a lot!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
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/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to