<P>Dear Michel,</P>
<P>So If I read well I should combine the following Chinese methods&nbsp;to obtain&nbsp;'it',&nbsp;'fr', 'de' ...etc.</P>
<P>&nbsp;x isNil ifTrue: [<BR>&nbsp;&nbsp;x := 0. y := 0.<BR>&nbsp;&nbsp;html script: 'window.location.href="' , html context actionUrl asString ,<BR>&nbsp;&nbsp;&nbsp;'&amp;' , (html callbacks registerCallback: [ :v | x := v asNumber]) ,<BR>&nbsp;&nbsp;&nbsp;'=" + screen.width + "' ,<BR>&nbsp;&nbsp;&nbsp;'&amp;' , (html callbacks registerCallback: [ :v | y := v asNumber]) ,<BR>&nbsp;&nbsp;&nbsp;'=" + screen.height' ].<BR>&nbsp;html render: x; text: ' x '; render: y</P>
<P>&nbsp;</P>
<P>&lt;!-- PLACE IN HEADER --&gt;</P>
<P>&lt;SCRIPT LANGUAGE="JavaScript"&gt; <BR>&lt;!-- Begin <BR>/*<BR>Find free scripts and get free help:<BR>&nbsp;<A href="http://www.able2know.com">www.able2know.com</A> <BR>*/<BR>if (navigator.appName == 'Netscape') <BR>var language = navigator.language; <BR>else <BR>var language = navigator.browserLanguage; <BR>if (language.indexOf('en') &gt; -1) document.location.href = 'english.html'; <BR>else if (language.indexOf('de') &gt; -1) document.location.href = 'german.html'; <BR>else if (language.indexOf('it') &gt; -1) document.location.href = 'italian.html'; <BR>else <BR>document.location.href = 'defaultpage.html'; <BR>// End --&gt; <BR>&lt;/script&gt; </P>
<P>Thanks,..</P>
<P>Lucky ME !!!</P>
<P>@+Maarten,</P>
<P>&nbsp;</P>
<P>&gt; Message du 25/07/07 16:30<BR>&gt; De : "Bany, Michel" <MBANY@CINCOM.COM><BR>&gt; A : "Maarten MOSTERT" <MAARTEN.MOSTERT@WANADOO.FR>, "Seaside - general discussion" <SEASIDE@LISTS.SQUEAKFOUNDATION.ORG><BR>&gt; Copie à : <BR>&gt; Objet : RE: [Seaside] Language Detection<BR>&gt; <BR>&gt; 
<META content="MSHTML 6.00.6000.16481" name=GENERATOR></P>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #ff0000 2px solid">
<DIV dir=ltr align=left><FONT face="Trebuchet MS" color=#0000ff size=2><SPAN class=305222814-25072007>Hi Maarten.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Trebuchet MS" color=#0000ff size=2><SPAN class=305222814-25072007>You can pull any data you want from the browser using a java-script in a redirect</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Trebuchet MS" color=#0000ff size=2><SPAN class=305222814-25072007>See </SPAN></FONT><FONT face="Trebuchet MS" color=#0000ff size=2><A href="http://lists.squeakfoundation.org/pipermail/seaside/2007-July/012857.html">http://lists.squeakfoundation.org/pipermail/seaside/2007-July/012857.html</A></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Trebuchet MS" color=#0000ff size=2><SPAN class=305222814-25072007>HTH</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Trebuchet MS" color=#0000ff size=2><SPAN class=305222814-25072007>Michel.</SPAN></FONT></DIV><BR>&gt; 
<BLOCKQUOTE dir=ltr style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> seaside-bounces@lists.squeakfoundation.org [mailto:seaside-bounces@lists.squeakfoundation.org] <B>On Behalf Of </B>Maarten MOSTERT<BR>&gt; <B>Sent:</B> mercredi, 25. juillet 2007 16:23<BR>&gt; <B>To:</B> Seaside - general discussion<BR>&gt; <B>Subject:</B> [Seaside] Language Detection<BR>&gt; </FONT><BR>&gt; </DIV>
<DIV></DIV>
<P>&gt; Hi,</P>
<P>&gt; Is there a way in seaside to detect the browsers local language&nbsp;and adapt so&nbsp;accordingly ?</P>
<P>&gt; Rgrds,</P>
<P>&gt; @+Maarten,</P>
<P>&gt; &nbsp;</P>
<P>&gt; &nbsp;</P>
<P>&gt; &nbsp;</P>
<P>&gt; &nbsp;</P>
<P>&gt; &nbsp;</P></BLOCKQUOTE></BLOCKQUOTE>