Hi all,
I have a little problem with a multi-language website.
See this sample:
 
<@ASSIGN user$Lang "DE">
.
.
 
<@IF "@@user$lang='UK'">
<@ASSIGN TextChoose "Choose before the number of passengers">
<@ELSEIF "@@user$lang='DE'">
<@ASSIGN TextChoose value="W�hlen sie zuerst die Anzahl der Passagieren aus" encoding=none>
<@ELSE>
<@ASSIGN TextChoose "E<@SQ> necessario in inserire prima i passeggeri">
</@IF>
.
.
<script language=_javascript_>
alert('<@VAR TextChoose encoding=_javascript_>');
</script>
 
If the language is deutch (lang='DE') the windows builds with "alert()" is "W&#228;hlen .... etc"
 
I choosed this alternative method :
 
alert(unscape('<@VAR TextChoose encoding=URL>'));
 
But is there another witango method ?
Is There a "switch/case like C" method that i don't know ?
Thanks
 
Best regards
 
Giorgio
 
 
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to