set lang to site how
Posted: Tue Feb 26, 2013 6:06 pm
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?
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?