Bruce, Thanks for doing this. It may not be apparent to everyone but this should be a nice fix that will resolve a lot of issues that people have had with locale settings - especially getting Satchmo and Pinax to play more nicely together.
Thanks a ton for getting this in place. -Chris On Sat, Jan 2, 2010 at 7:32 PM, Bruce Kroeze <[email protected]> wrote: > Improved currency handling > ---------------------------------------- > In changeset 1294, we changed the locale handling to reduce configuration > issues. > > The livesettings system is no longer used for setting and configuring > currency. Please look at l10n.l10n_settings for examples of configuration. > Essentially, if your default currency is not USD, you will need to add a > new setting to your settings.py file, and configure the "currency_formats" > and "default_currency" for your country. > > For example, say you had a new currency, the FOO, which you wanted to use > as your default currency, and say that it usually is written as ^value, or > if negative ^(value) > > In your settings.py you would do something like this > > {{{ > L10N_SETTINGS = { > 'currency_formats = { > 'FOO' : {'symbol': '^', 'positive' : "^%(val)0.2f", 'negative': > "^(%(val)0.2f)", 'decimal' : '.'}, > }, > 'default_currency' : 'FOO' > } > }}} > > -- > Bruce Kroeze > http://www.ecomsmith.com > It's time to hammer your site into shape. > > -- > 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]<satchmo-users%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/satchmo-users?hl=en. > -- 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.
