DHTML Menu and Google Translation
DHTML Menu and Google Translation
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.
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
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
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
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