<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.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>Localization</title><link>http://forums.asp.net/151.aspx</link><description>Discuss techniques for localizing content for different languages and locales with ASP.NET.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Where is an ASP.NET Thread's Culture Initially Set?</title><link>http://forums.asp.net/thread/2097258.aspx</link><pubDate>Tue, 08 Jan 2008 17:06:48 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2097258</guid><dc:creator>JRumerman</dc:creator><author>JRumerman</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2097258.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=151&amp;PostID=2097258</wfw:commentRss><description>&lt;p&gt;Hi Vivek (and everyone else),&lt;/p&gt;&lt;p&gt;That is what I initially guessed, but that&amp;#39;s not the case. Here&amp;#39;s the reflected code from the InitializeCulture method on the Page object:&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;/p&gt;&lt;pre class="coloredcode"&gt;&lt;span class="kwd"&gt;protected virtual void&lt;/span&gt; InitializeCulture()&lt;br /&gt;{&lt;br /&gt;}&lt;/pre&gt;&lt;p&gt;It seems that the InitializeCulture method is where we can override the culture, but it&amp;#39;s not where it&amp;#39;s initially set. I&amp;#39;m looking for the location where the header value Accept-Language is read and processed automatically. &lt;br /&gt; &lt;/p&gt;&lt;p&gt;&lt;br /&gt;I read through the post that you pointed me at and I don&amp;#39;t think its listed in their either.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;Thx, Joel&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Where is an ASP.NET Thread's Culture Initially Set?</title><link>http://forums.asp.net/thread/2096021.aspx</link><pubDate>Tue, 08 Jan 2008 07:34:13 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2096021</guid><dc:creator>vivek_iit</dc:creator><author>vivek_iit</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2096021.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=151&amp;PostID=2096021</wfw:commentRss><description>&lt;p&gt;Hi Joel,&lt;/p&gt;
&lt;p&gt;If&amp;nbsp;the page culture is set to auto, then the Initilaizeculture() method fires and sets the culture as per the browser setting. Else we can also overload this method and set culture accordingly. Yo may want to look at this post:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://forums.asp.net/t/884482.aspx"&gt;http://forums.asp.net/t/884482.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hope this helps,&lt;/p&gt;
&lt;p&gt;Vivek&lt;/p&gt;</description></item><item><title>Where is an ASP.NET Thread's Culture Initially Set?</title><link>http://forums.asp.net/thread/2095684.aspx</link><pubDate>Tue, 08 Jan 2008 04:04:54 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2095684</guid><dc:creator>JRumerman</dc:creator><author>JRumerman</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2095684.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=151&amp;PostID=2095684</wfw:commentRss><description>&lt;p&gt;Hi Everyone,&lt;/p&gt;&lt;p&gt;&lt;br /&gt;I was wondering if anybody knew where an ASP.NET thread&amp;#39;s culture was initially set. Where is&lt;b&gt; Accept-Language: en-US&lt;/b&gt; translated to the Culture Info assigned to the running thread? &lt;/p&gt;&lt;p&gt;At first I thought it was going to be somewhere in the Page class, but that is obviously too limiting (what about web services?). I followed the little white rabbit into WebHeaderCollection and UnsafeNclNativeMethods, but I&amp;#39;ve lost sight of the rabbit. &lt;/p&gt;&lt;p&gt;Anybody already figured this one out?&lt;/p&gt;&lt;p&gt;Thx, Joel&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>