On Mar 9, 2012, at 15:14 , Llama wrote:
>> In what respect?
> 
> Nothing changes. Nothing at all.

You try switching between different English and Russian, right? Does your 
Russian localization work if it is the only language allowed? Is your problem 
only that Russian does not appear in the list of choices, or does the Russian 
localization not have any effect at all on the text?

This is how my (own) Swedish localization is set up in settings.py:

gettext_noop = lambda s:s
LANGUAGE_CODE = 'sv'
LANGUAGES = (
  ('sv', gettext_noop('Swedish')),
)
L10N_SETTINGS = {
 'currency_formats' : {
    'SEK' : {'symbol': u'kr',
             'positive' : u"%(val)0.2f\u00a0kr",
             'negative': u"(%(val)0.2f)\u00a0kr",
             'decimal' : ','},
 },
 'default_currency' : 'SEK',
 'show_admin_translations': False,
 'allow_translation_choice': False,
}

As I said, it works perfectly on Python 2.7 / Django 1.3.1 / Satchmo 0.9.2. But 
I don't have several different languages to switch between. Well almost 
perfectly, as I just noticed that despite the 'show_admin_translations': False, 
the admin interface gets localized as well...

>>> http://www.satchmoproject.com/docs/dev/translation.html
> 
> Yes, I tried to follow this howto.
> 
> I am not the only one: 
> http://stackoverflow.com/questions/5187600/cant-set-the-shop-language-in-satchmo

There is nothing in that thread which supposes that the .po files actually were 
translated! IIRC if it is a new localization, django-admin.py makemessages will 
only create the .po files and the correct directories, but they will contain 
the same text strings as in the gettext() arguments.

Ben

-- 
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