„locale -a“ helped me to see which locales are installed and how they are written exactly. en_US.UTF-8 is installed on my Mac OS X 10.9.
I had to set different locales on the production env (ubuntu) and my dev-env, since they were spelled slightly different. Am 08.01.2014 um 06:19 schrieb Luis Velez <[email protected]>: > works perfectly in ubuntu, my problem is in osx. I tested with several values > for this variable and still not working > > On Tuesday, January 7, 2014 3:30:35 PM UTC-5, Danny S wrote: > On 8/01/2014 1:20 AM, Luis Velez wrote: > > Error with any command in mezzanine cartridge > > > > > "/Users/warlock/.virtualenvs/cartrid/lib/python2.7/site-packages/cartridge/shop/utils.py", > > > > line 131, in set_locale > > raise ImproperlyConfigured(msg % currency_locale) > > django.core.exceptions.ImproperlyConfigured: Invalid currency locale > > specified for SHOP_CURRENCY_LOCALE: 'en_US.UTF-8'. You'll need to set > > the locale for your system, or configure the SHOP_CURRENCY_LOCALE > > setting in your settings module. > > > Try setting SHOP_CURRENCY_LOCALE to en_US if that's not what it's > currently on. > > Otherwise, make sure en_US.UTF8 is installed as a locale on your system. > I had to explicitly install en_AU as a locale on my system so I could > use it as a SHOP_CURRENCY_LOCALE. > > On Ubuntu, the steps are: > sudo locale-gen en_AU > sudo dpkg-reconfigure locales > > Not sure what they'd be on a Mac. > > Seeya. Danny. > > -- > Email: [email protected] > > -- > You received this message because you are subscribed to the Google Groups > "Mezzanine Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. -- Freundliche Grüße Denis Cornehl Simon-Dach-Str. 7 / 10245 Berlin M: +49 (151) 25 25 1450 @: [email protected] X: http://xing.to/dc -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
