Ok. One minute later I've found the problem..

The issue is that there are two setting files:

settings.py
local_settings.py

And I haven't seen the local_settings.py!

Anyway, still some sentences are not translated, I think it is due to
using the sample satchmo page.

On 5 feb, 12:26, metge <[email protected]> wrote:
> I've tried all what you say, also testing with different browsers with
> spanish language selected and deleting the cache with no success..
>
> Let me write the settings.py whether you can see any issue:
>
> L10N_SETTINGS = {
>   'currency_formats' : {
>      'EURO' : {'symbol': u'€', 'positive' : u"€%(val)0.2f",
> 'negative': u"€(%(val)0.2f)",
>                'decimal' : ','},
>   },
>   'default_currency' : 'EURO',
>   'show_admin_translations': False,
>   'allow_translation_choice': False,
>
> }
>
> from django.conf.urls.defaults import patterns, include
> SATCHMO_SETTINGS = {
>     'SHOP_BASE' : '',
>     'MULTISHOP' : False,
>     'SHOP_URLS' : patterns('', (r'^i18n/', include('l10n.urls')),)
>
> }
>
> LANGUAGE_CODE = "es_es"
>
> The shop always is running in English. What am I doing wrong??
>
> On 10 ene, 21:54, hynekcer <[email protected]> wrote:
>
>
>
>
>
>
>
> > Preferredlanguagesetting of web browser has priority over Django
> > preferred LANGUAGE_CODE. Plain autoselect by browser is not much
> > satisfying.
> > You can remove English from LANGUAGES in settings.py or 
> > enablelanguageselection panel on web page.  (I am also newbie - not
> > interested in multilingual)
>
> > metge napsal(a):
>
> > > Following the instructions I have this configuration in settings.py:
>
> > > L10N_SETTINGS = {
> > >   'currency_formats' : {
> > >      'EURO' : {'symbol': u'€', 'positive' : u"€%(val)0.2f",
> > > 'negative': u"€(%(val)0.2f)",
> > >                'decimal' : ','},
> > >   },
> > >   'default_currency' : 'EURO',
> > >   'show_admin_translations': True,
> > >   'allow_translation_choice': True,
> > > }
>
> > > LANGUAGE_CODE = "es_ES"
>
> > > LANGUAGES = (
> > >             ('es', "Español"),
> > >             ('en', "English"),
> > >             )
>
> > > But satchmo only displays always English. What shall I do?
>
> > > I've read the documentation without success.

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