We had a site that was supposed to offer information in English, German, Spanish, and French. For the pages, I included DIV containers with each language. Then, the user could click on a link that would invisibilate the current container and revisibilate the desired language container.
This meant we included all translations in the code, but we also had complete control over the translation (we could send it all over to various reps for "polishing").
In the code:
Code:
<div id="EngTran" class="EngTran">The S62 connects easily to a Windows computer USB port.</div>
<div id="FreTran" class="FreTran">Le S62 connecte facilement à un Windows port de USB informatique.</div>
<div id="EspTran" class="EspTran">El S62 conecta fácilmente a un puerto de la computadora de Windows USB.</div>
<div id="DeuTran" class="DeuTran">Der S62 verbindet leicht zu einem Fenster Computer USB Hafen.</div>
<div id="NTxTran" class="NTxTran"></div>
and then the chooser link was
Code:
<h6>Choose text display language:<br /><a href="#" onClick="javascript:ChooseEnglish();return 0;">English</a> • <a href="#" onClick="javascript:ChooseFrench();return 0;">French</a> • <a href="#" onClick="javascript:ChooseSpanish();return 0;">Spanish</a> • <a href="#" onClick="javascript:ChooseGerman();return 0;">German</a> • <a href="#" onClick="javascript:ChooseNoText();return 0;">no text</a></h6>
And then in the JS file...
Code:
function ChooseFrench() // Turns on the French text
{
// Turn all other languages off
TurnEverythingOff();
// Turn French on
// document.getElementById('FreTran').style.display = 'inline';
}
This is the example for French -- obvioulsy the other languages had their own functions.
I'd send you a link to the version online, but it was eventually decided that until the languages are better translated, they would rather only see English.
Maybe something like that would help you?
Cheers,
![[monkey] [monkey] [monkey]](/data/assets/smilies/monkey.gif)
Edward
"Cut a hole in the door. Hang a flap. Criminy, why didn't I think of this earlier?!" -- inventor of the cat door