Hi Alby,
Thanks for the clarification, I got it working this way as well, and I have not had any problems yet:
This is my config_lang.php:
Code: Select all
define('DEFAULT_LANG', 'eng');
$hls = array(
'eng' => array(
'block'=>'en',
'flag'=>'<img src="/path_cms_root/images/lang/canada_en.png" style="border:0; opacity:1;" alt="English" />',
'text'=>'English',
),
'fra' => array(
'block'=>'fr',
'flag'=>'<img src="/path_cms_root/images/lang/canada_fr.png" style="border:0; opacity:1;" alt="Français" />',
'text'=>'Français',
'locale'=>'fr_FR.utf8@euro',
),
);
?>
and this is the section of my template calling the content block:
Code: Select all
{global_content name="footer-$lang"}
with my global content blocks labelled as "footer-eng" and "footer-fra".
The reason I dont use en_US is because I am building Canadian websites, so I try to keep it just "eng" and "fra" so there is country association.
Thanks!
Jimmy