That produces the same error. At the Python prompt (manage.py shell)
the line, "locale.setlocale(locale.LC_ALL, (loc,'utf-8'))" produces an
error even for the tuple returned by locale.getdefaultlocale(). It
does work with locale.getlocale(), though, for what that's worth. I
can't get it to work with any 'utf-8' encoding. On my machine:

In [34]: locale.getdefaultlocale()
Out[34]: ('en_US', 'cp1252')

In [35]: locale.getlocale()
Out[35]: ('English_United States', '1252')

On Feb 15, 4:20 pm, Chris Moffitt <[email protected]> wrote:
> What if you try language code = en?
>
> -Chris
>
> On Sun, Feb 15, 2009 at 3:08 PM, davis <[email protected]> wrote:
>
> > That update broke the cart for me on a Win2k machine with
> > LANGUAGE_CODE set to 'us'. It caused the message
> > "ImproperlyConfigured: bad settings.LANGUAGE_CODE". I reverted to the
> > previous version and it works fine again.
>
> > On Feb 15, 2:38 pm, Chris Moffitt <[email protected]> wrote:
> > > Could you try updating to trunk and see if it works for you? I commited a
> > > patch yesterday that should fix the problem but I'd like some independent
> > > confirmation.
>
> > > Thanks,
> > > Chris
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Satchmo 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/satchmo-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to