Page 1 of 1

set lang to site how

Posted: Tue Feb 26, 2013 6:06 pm
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?

Re: set lang to site how

Posted: Tue Feb 26, 2013 6:41 pm
by staartmees
log in to the backend of your site
Site admin > Global settings > Default language for the frontend
save

Re: set lang to site how

Posted: Tue Feb 26, 2013 8:17 pm
by uloloi
ouch! thank u :P

"always learning!"