<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.silverlight.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Programming with .NET - General</title><link>http://forums.silverlight.net/forums/17.aspx</link><description>General discussions around authoring Silverlight .NET applications.</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: How to have localization follow browser language</title><link>http://forums.silverlight.net/forums/thread/326809.aspx</link><pubDate>Thu, 26 Nov 2009 05:27:26 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:326809</guid><dc:creator>Srinivasa Rao Ranga</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/326809.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=326809</wfw:commentRss><description>&lt;p&gt;HI salvon...how did u solved...&lt;/p&gt;</description></item><item><title>Re: How to have localization follow browser language</title><link>http://forums.silverlight.net/forums/thread/286681.aspx</link><pubDate>Mon, 14 Sep 2009 05:29:39 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:286681</guid><dc:creator>salonVB</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/286681.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=286681</wfw:commentRss><description>&lt;p&gt;Thanks to all for their quick and kind response, the problem is solved!&lt;/p&gt;</description></item><item><title>Re: How to have localization follow browser language</title><link>http://forums.silverlight.net/forums/thread/70719.aspx</link><pubDate>Sun, 13 Jul 2008 14:01:33 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:70719</guid><dc:creator>slyi</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/70719.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=70719</wfw:commentRss><description>&lt;p&gt;Actually it is working eg: &lt;a href="http://cid-2b248d261d0e0035.skydrive.live.com/self.aspx/Public/culture-equals-auto.zip"&gt;http://cid-2b248d261d0e0035.skydrive.live.com/self.aspx/Public/culture-equals-auto.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;But&amp;nbsp;it is not based on user accept language host header&amp;nbsp;list, from you user browser language,&amp;nbsp;as this&amp;nbsp;is not available on the client side, only server side. What is available on the client side is&amp;nbsp;OS language which you change in control panel.&amp;nbsp;&amp;nbsp;&lt;a href="http://www.microsoft.com/library/media/1033/windowsxp/images/using/setup/winxp/regional-options-click-ok.jpg"&gt;http://www.microsoft.com/library/media/1033/windowsxp/images/using/setup/winxp/regional-options-click-ok.jpg&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Please&amp;nbsp;note the server side method is much more targeted, and i recommend this more than the client side polling.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How to have localization follow browser language</title><link>http://forums.silverlight.net/forums/thread/70644.aspx</link><pubDate>Sat, 12 Jul 2008 18:38:04 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:70644</guid><dc:creator>slyi</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/70644.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=70644</wfw:commentRss><description>&lt;p&gt;That is strange i just tried it now as well and it doesnt seem to work either, maybe a bug in beta 2. It was meant to be working in beta2.&lt;/p&gt;
&lt;p&gt;As a workaround you could add it dynamiclly on the server side eg:&lt;/p&gt;&lt;font size="2"&gt;
&lt;p&gt;&amp;lt;%&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;@&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;Page&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;Language&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;C#&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;AutoEventWireup&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;true&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;UICulture&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;auto&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;Culture&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;auto&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; %&amp;gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;lt;%&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;@&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;import&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;namespace&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;System.Threading&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; %&amp;gt; &lt;/font&gt;&lt;/p&gt;&lt;font size="2"&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;param&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;name&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;Culture&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;value&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;&amp;lt;%=Thread.CurrentThread.CurrentCulture.Name %&amp;gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;quot;&amp;nbsp;&lt;/font&gt;&lt;font size="2"&gt; /&amp;gt;&lt;br /&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;param&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;name&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;UICulture&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;value&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;&amp;lt;%=Thread.CurrentThread.CurrentCulture.Name %&amp;gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;/&amp;gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How to have localization follow browser language</title><link>http://forums.silverlight.net/forums/thread/70408.aspx</link><pubDate>Fri, 11 Jul 2008 15:12:28 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:70408</guid><dc:creator>Matt Brooks</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/70408.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=70408</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I am using Silverlight 2 Beta 2.&lt;/p&gt;&lt;p&gt;&amp;lt;param name=&amp;quot;culture&amp;quot; value=&amp;quot;auto&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;param name=&amp;quot;uiculture&amp;quot; value=&amp;quot;auto&amp;quot; /&amp;gt;&amp;nbsp; &lt;/p&gt;&lt;p&gt;This does not work for me.&amp;nbsp; I am using Firefox and set one and only one language, de.&amp;nbsp; My app still showed en-US as my culture and UICulture.&lt;/p&gt;&lt;p&gt;Any other ideas?&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Matt &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: How to have localization follow browser language</title><link>http://forums.silverlight.net/forums/thread/70295.aspx</link><pubDate>Fri, 11 Jul 2008 08:07:19 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:70295</guid><dc:creator>slyi</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/70295.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=70295</wfw:commentRss><description>&lt;p&gt;Please see &lt;a href="http://silverlight.net/forums/p/14007/50506.aspx#50506"&gt;http://silverlight.net/forums/p/14007/50506.aspx#50506&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;param name=&amp;quot;culture&amp;quot; value=&amp;quot;auto&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;param name=&amp;quot;uiculture&amp;quot; value=&amp;quot;auto&amp;quot; /&amp;gt; &lt;/p&gt;</description></item><item><title>How to have localization follow browser language</title><link>http://forums.silverlight.net/forums/thread/70175.aspx</link><pubDate>Thu, 10 Jul 2008 22:44:16 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:70175</guid><dc:creator>Matt Brooks</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/70175.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=70175</wfw:commentRss><description>&lt;p&gt;I am developing a Silverlight 2 application.&lt;/p&gt;&lt;p&gt;I have been able to embed multiple string resources into my .xap file.&amp;nbsp; I have found how I can select which language to display by adding:&lt;/p&gt;&lt;p&gt;&amp;lt;param name=&amp;quot;culture&amp;quot; value=&amp;quot;de&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;param name=&amp;quot;uiculture&amp;quot; value=&amp;quot;de&amp;quot; /&amp;gt; &lt;/p&gt;&lt;p&gt;To my &amp;lt;object&amp;gt; section in html.&lt;/p&gt;&lt;p&gt;What I would like to do is have the culture and uiculture follow the language(s) configured in my browser (auto detect).&lt;/p&gt;&lt;p&gt;Does anyone know how I can do that with javascript?&amp;nbsp; Or straight html?&lt;/p&gt;&lt;p&gt;Thanks for the help,&lt;/p&gt;&lt;p&gt;Matt &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>