---------------
Translation:
---------------
here is shown a samll attempt to translate german - english. Unfortuantly my kno
wledge isn't sufficient to find the right slang. Therefore only a small part of
the original german text is translated to show how the project might work.
One advantage is that all translations are placed in the same file and can be sw
itched at once.
French and Spain is prepared, but not realized.
---------------
more changes:
---------------
I structed the original text by linebreaks. Now the german text gets easier unde
rstood.
---------------
Technic
---------------
the new technic is based on a combination of CSS and javascript.
additional code is placed in the "_functions.js" file.
old:
<div align="center">
<p> some text
more text </p>
new:
<div class="dv1">
<p class="en"> translated text - english </p>
<p class="fr"> french </p>
<p class="es"> spain </p>
<p class="ll"> I </p> -- a placeholder
<p class="de"> german original text </p>
there might be another class attribut "xyxy" .
It's used to show that the translation needs to be checked.
(actually blue background color)
untranslated text remains german and is included by the script. So navig
ation is possible.
old:
<td><a href="xy.html">start game</a></td>
new:
<td>
<a href="A00_1.html">
<span class="en"> start game </span>
<span class="fr"> start jeu </span>
<span class="es"> game </span>
<span class="de"> beginne Spiel </span>
</a>
</td>
old:
<area shape="rect" coords="15,19,775,567" href="xy.html" title="weiter"
/>
new:
<area shape="rect" coords="15,19,775,567" href="xy.html" title="continue
|d weiter" />
or new:
<area shape="rect" coords="15,19,775,567" href="xy.html" title="continue
|d weiter |f french token |e spain token " />
the title attribut is splitted by "|". Always the first token is englisch. The
first token is used for standard, when no other token fits. Other tokens are re
cognized by:
|d deutsch - german
|f french
|e spanish
----------------
Enjoy!
sunnyson
----------------