Re: satchmo currency

2011-04-15 Thread Chris Moffitt
First off, you'll probably get better responses on the Satchmo list.

Secondly, changing languages doesn't change currency symbols, which should
make sense. 1 Euro is not equal to 1 Dollar. If we were to change symbols,
we'd also need to do a currency conversion. It's not impossible by any means
just not something that is done out of the box.

-Chris

On Thu, Apr 14, 2011 at 11:31 PM, ug Charlie  wrote:

> Hello, I just make a satchmo shop. 3 languages.
>
> But the currency make me stuck.
>
> I just want the site change the currency when changing the language.
>
> In satchmo settings.py, it is like
>
> L10N_SETTINGS = {
>'currency_formats' : {
>'EURO' : {
>'symbol': u'€ ',
>'positive' : u"€ %(val)0.2f",
>'negative': u"€ (%(val)0.2f)",
>'decimal' : ','
>},
>'USD' : {
>'symbol': u'$ ',
>'positive' : u"$%(val)0.2f",
>'negative': u"$(%(val)0.2f)",
>'decimal' : ','
>},
>},
>'default_currency' : 'EURO',
>'show_admin_translations': True,
>'allow_translation_choice': True,
> }
>
> I do not really know how to do that..:(
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: satchmo currency

2011-04-17 Thread ug Charlie
You are right. Thank you.
Then I just need to add a button in the page to switch the currency.
However, still have no idea for this. :(

On 4/15/11, Chris Moffitt  wrote:
> First off, you'll probably get better responses on the Satchmo list.
>
> Secondly, changing languages doesn't change currency symbols, which should
> make sense. 1 Euro is not equal to 1 Dollar. If we were to change symbols,
> we'd also need to do a currency conversion. It's not impossible by any means
> just not something that is done out of the box.
>
> -Chris
>
> On Thu, Apr 14, 2011 at 11:31 PM, ug Charlie  wrote:
>
>> Hello, I just make a satchmo shop. 3 languages.
>>
>> But the currency make me stuck.
>>
>> I just want the site change the currency when changing the language.
>>
>> In satchmo settings.py, it is like
>>
>> L10N_SETTINGS = {
>>'currency_formats' : {
>>'EURO' : {
>>'symbol': u'€ ',
>>'positive' : u"€ %(val)0.2f",
>>'negative': u"€ (%(val)0.2f)",
>>'decimal' : ','
>>},
>>'USD' : {
>>'symbol': u'$ ',
>>'positive' : u"$%(val)0.2f",
>>'negative': u"$(%(val)0.2f)",
>>'decimal' : ','
>>},
>>},
>>'default_currency' : 'EURO',
>>'show_admin_translations': True,
>>'allow_translation_choice': True,
>> }
>>
>> I do not really know how to do that..:(
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To post to this group, send email to django-users@googlegroups.com.
>> To unsubscribe from this group, send email to
>> django-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.