On May 1, 4:36 pm, Mauro <[EMAIL PROTECTED]> wrote: > Thank you Gaetan, > > I tried to add a BOM to the .po file but I got an error when compiling > the messages. (kind of expected) > Then I tried to add it at the beginning of my template file but keep > getting the sameDjangoUnicodeDecodeError. > > When you mention "save your source file with a BOM" which file do you > refer to? > I am using Linux BTW.
One interesting thing I forgot to mention. If I use ugettext instead of ugettext_lazy, it works fine. Translations shows perfectly, but I can not dynamically switch the language because the form gets translated only once when running django. so I *need* ugettext_lazy. It sounds like a bug .. but I am not sure.. //mauro// --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

