Google Translator of your pages - French,Spanish,Italian,Dutch& Portuguese.
This mod when used will open an existing page in a new window -FULLY TRANSLATED in the language selected. You can also from that point continue to navigate through to other pages of your site as they will appear in the selected language.
At this point your saying, x-cart already has language translations. Yes it does, but not this extensive. This mod translates ALL TEXT on the page it can into the selected language, yes I mean even your product descriptions. Try it and you'll see for yourself. Please note that it takes a couple of seconds for it to load the translated page.
Here it is:
In home.tpl or wherever you please, post the following code in a table cell:
Quote:
<div align="center">{literal}
<script type=text/javascript>
var isDone;
function translate(language) {
var defLang = "en";
var myURL = document.URL;
if (!isDone) {
alert("Note: Translation is not perfect.\nOnly translate on a page per page basis if needed: (Original Page >> New Language)\nIf the page looks wrong or something is not working, then please go back and use the original english page.\n\nCheers, and good luck!");
}
window.open("http://translate.google.com/translate?langpair=" + defLang + "|" + language + "&u=" + myURL, "translation");
isDone=1;
}
</script>
{/literal}
<font size="-2" face="Verdana, Arial, Helvetica, sans-serif">Select
Language </font>
<select name="select"
onChange=translate(this.options[this.selectedIndex].value);>
<option
selected>-------------</option>
<option value=fr>Franц╖ais</option>
<option value=de>Deutsch</option>
<option value=es>Espaц╠ol</option>
<option value=it>Italiano</option>
<option value=pt>Portuguese</option>
</select>
</div>
|
Enjoy,
Glen