Jump to content

Language Iso Code in Header


Recommended Posts

Hi,

I've my website configured to pt language, but i want to put -BR in front of pt in lang placed in header.

My lang website is pt-BR so i want to put the br in front.

I need to make a smal mod, something like that:

{if $language.iso_code == 'pt'}{$lang_iso}-BR{else}{$lang_iso}{/if}

Maybe it work better if we get the id of lang.

Can someone help me?

Regards

Mozack

Link to comment
Share on other sites

×
×
  • Create New...