Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:24

Multi-Language Menu


Poster: vengavenga
Dated: Monday January 14 2008 - 12:48:31 GMT

Hi all,

I'm building an osCommerce based store that will use the Milonic menu in the header area.
Problem I've got is that the store is in two languages. and I can't figure out how to get the Milonic menu to switch from one to the other.

The code in the header.php file of osCommerce allows me to identify language and choose what to do, so really what I want is something along the lines of:

if (language == 'english') {
<script type="text/javascript" src="menu_data_english.js"></script>
}

if (language == 'espanol') {
<script type="text/javascript" src="menu_data_espanol.js"></script>
}

or at least something along those lines.

The above doesn't seem to work, and I've also tried putting all the milonic files in separate language folders to no avail.

Can anyone point me in the right direction please?

Thanks,
Ali.

Re: Multi-Language Menu


Poster: vengavenga
Dated: Monday January 14 2008 - 13:33:41 GMT

Actually, ignore all of that nonsense above. It helps if you upload files to the correct server! Doh!
Ali.

Re: Multi-Language Menu


Poster: Ruth
Dated: Monday January 14 2008 - 14:20:27 GMT

Hi,

Well, I have to say you have just made my day since I have just spent an hour trying to install a program which wouldn't install. It helps if you click the correct button, so with you I say DOH :!:

Ruth