set lang to site how

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
uloloi
Forum Members
Forum Members
Posts: 88
Joined: Thu Dec 16, 2010 8:50 pm

set lang to site how

Post by uloloi »

Hi, I'm trying set languege to es_ES

in html tag:
<__html lang="{browser_lang .... etc default=es}"

and it prints html lang=es, OK

in config.php use:
config[locale] = es; ...

But when I print get_template_vars then show me
lang en_US

And I think this is the cause I can't see the local lang of the modules, p.e. when seen {Products action=search .... lang='es' } all the tags and info shows in english, then i have to use the lang='es' to switch, but this is or will be deprecated, or is this the right way?
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: set lang to site how

Post by staartmees »

log in to the backend of your site
Site admin > Global settings > Default language for the frontend
save
uloloi
Forum Members
Forum Members
Posts: 88
Joined: Thu Dec 16, 2010 8:50 pm

Re: set lang to site how

Post by uloloi »

ouch! thank u :P

"always learning!"
Post Reply

Return to “The Lounge”