hello,
I am trying to build an English/Hebrew site using joomfish for the Hebrew translaton. To switch between rtl and ltr templates I have set up a dummy template index.php file with the following code:
<?php
global $mosConfig_lang;
if ($mosConfig_lang=="hebrew") include_once ("index_he.php");
else include_once ("index_en.php");
?>
This works fine in some cases but not in others. Could someone have a look at this problem:
1) Go to the site http://www.israelcatholic.com
2) Click on the little Israel flag to change to Hebrew site. The site correctly switches to the rtl template.
3) Click on the second item from the right on the top menu (?? ?????). The page correctly opens at http://www.israelcatholic.com/content/v ... 4/lang,iw/ - still on the rtl template.
3) Click on the fourth item from the right on the top menu (???????). The page correctly opens at the component http://www.israelcatholic.com/component/option,com_weblinks/Itemid,23/lang,iw/ - still on the rtl template.
4) Now click on the first item on the right of the top menu (?? ????) to return to the home page. Now the site goes to http://www.israelcatholic.com/content/view/20/103/ - but using the ltr english template because /lang,iw/ has disappeared from the link.
In summary: anytime I go to a component page on the Hebrew site, the next page I go to omits the language specification in the url (/lang,iw) and the site switches back to the ltr template. I then have to reclick the Israel flag to return to the rtl template.
Anyone know why it does that?
Many thanks,
