DHTML Menu and Google Translation

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
goakes
Beginner
Beginner
Posts: 1
Joined: Mon Feb 27, 2006 10:23 pm

DHTML Menu and Google Translation

Post by goakes »

Is there a way to use this to translate the menu to several different languages? I have tried several different scripts and have had no success. I am looking at adding translation to an existing church website that is using the DHTML Menu. Any help would be appreciated. I can translate everything else on the page but the menu.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

No, I don't believe you can do that. I know that the menu data file consists of text, but it is saved as js and read by the program. Sorry, I'm not a programmer so I'm probably not explaining correctly. Anyway, I know a few sites that have created different data files in different languages and then call the file accordingly. Perhaps you could do that and get a script that will load the correct file based on the page language. What would need to be translated is only the text you put in i.e. text=Hello; so only Hello has to be changed.

Ruth
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Hi,

Ruth's suggestion is probably more accurate and will translate the text exactly how it should be translated because it will have been done by hand.

If you rely on the translator it might get it wrong.

One other way you could try and this may get translated is by using the list based menu (this accompanies the downloads in the /extras/ directory) This menu is based on Unordered Lists that are simply HTML and should get parsed through Google's translator.

Hope this helps,
Andy
Post Reply