Hi folks,
My websitehas two languages, I am wondering how do I make all the menus be switched to its language when user switch language, currently if you click on Chinese, only a few menus are changed, others remain English. The unchanged menus are created from my ezpages and I added them to the menu by modifying the tpl_header.php, code is below, the reason I have to do this is because the ezpages won't show up in the header by simply indicating them in Admin->ezpages setting its order:
PHP Code:
<div id="navMainWrapper">
<div id="navMain">
<ul class="back">
<li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a> | </li>
<li><a href="index.php?main_page=page&id=2">Ready to Serve</a> | </li>
<li><a href="index.php?main_page=page&id=3">Dietary Supplements</a> | </li>
<li><a href="index.php?main_page=page&id=4">Life Concept Beverage</a> | </li>
<li><a href="index.php?main_page=page&id=5">Gift Box</a> | </li>
<li><a href="index.php?main_page=page&id=6">Cash Voucher</a> | </li>
<li><a href="index.php?main_page=page&id=1">Location</a> | </li>
Thank you very much for your help.
Bookmarks