<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>[How Do I:] Create a Multi-Lingual Site with Localization?</title><link>http://www.asp.net</link><pubDate>Tue, 18 Nov 2008 03:46:31 GMT</pubDate><generator>umbraco</generator><description>Comments for [How Do I:] Create a Multi-Lingual Site with Localization?</description><language>en</language><atom:link href="http://www.asp.net/rss/comments/33448" rel="self" type="application/rss+xml" /><item><title>Comment Posted by desaiamarjeet</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-multi-lingual-site-with-localization</link><pubDate>Tue, 11 Mar 2008 02:46:11 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000003607</guid><description><![CDATA[ <p>Whenever i put a button on the page and run that page, the button is showing Stretched.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/desaiamarjeet.jpg?forceidenticon=false&amp;dt=635050581600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by AnshumanT</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-multi-lingual-site-with-localization</link><pubDate>Sun, 30 Mar 2008 12:50:57 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000003608</guid><description><![CDATA[ <p>How does Request[&quot;Language1&quot;] work from inside the content place holder. I am having trouble getting this code to run.</p> <p>I have a page that I have created from a masterpage. This page contains a content placeholder. Inside the content place holder is my dropdownlist &quot;Language1&quot;. When InitializeCulture() is overwritten I do not see the collection being written to the string.</p> <p> &#160; &#160;protected override void InitializeCulture()</p> <p> &#160; &#160;{</p> <p> &#160; &#160; &#160; &#160;string language = Request[&quot;LanguageSelector&quot;];</p> <p> &#160; &#160; &#160; &#160;if (language != null &amp;&amp; language != &quot;&quot;)</p> <p> &#160; &#160; &#160; &#160;{</p> <p> &#160; &#160; &#160; &#160; &#160; &#160;Thread.CurrentThread.CurrentUICulture = new CultureInfo(language);</p> <p> &#160; &#160; &#160; &#160; &#160; &#160;Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture(language);</p> <p> &#160; &#160; &#160; &#160;}</p> <p> &#160; &#160;}</p> <p>&lt;asp:Content ID=&quot;Content3&quot; runat=&quot;server&quot; ContentPlaceHolderID=&quot;ContentPlaceHolderLanguageSelector&quot;&gt;</p> <p> &#160; &#160;&lt;asp:DropDownList ID=&quot;LanguageSelector&quot; runat=&quot;server&quot; AutoPostBack=&quot;true&quot; OnSelectedIndexChanged=&quot;LanguageSelector_SelectedIndexChang ed&quot;&gt;</p> <p> &#160; &#160; &#160; &#160;&lt;asp:ListItem Value=&quot;auto&quot;&gt;Auto&lt;/asp:ListItem&gt;</p> <p> &#160; &#160; &#160; &#160;&lt;asp:ListItem Value=&quot;fr&quot;&gt;French&lt;/asp:ListItem&gt;</p> <p> &#160; &#160; &#160; &#160;&lt;asp:ListItem Value=&quot;en-US&quot;&gt;English (US)&lt;/asp:ListItem&gt;</p> <p> &#160; &#160; &#160; &#160;&lt;asp:ListItem Value=&quot;en-GB&quot;&gt;English (UK)&lt;/asp:ListItem&gt;</p> <p> &#160; &#160;&lt;/asp:DropDownList&gt;</p> <p>&lt;/asp:Content&gt;</p> <p>I am not sure what I am doing wrong here?</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/AnshumanT.jpg?forceidenticon=false&amp;dt=635050581600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by strovek</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-multi-lingual-site-with-localization</link><pubDate>Wed, 02 Apr 2008 23:52:33 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000003609</guid><description><![CDATA[ <p>The example assumes that the DropDownList ID is &quot;Language1&quot;. &#160;Your example uses &quot;LanguageSelector&quot;.</p> <p>I did a summary of that in my blog:</p> <p>&lt;a rel=&quot;nofollow&quot; target=&quot;_new&quot; href=&quot;http://programmersjournal.blogspot.com/2008/04/multi-lingual-web-sites-using-aspnet.html&quot;&gt;programmersjournal.blogspot.com/.../multi-lingual-web-sites-using-aspnet.html&lt;/a&gt;</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/strovek.jpg?forceidenticon=false&amp;dt=635050581600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Ays_Hogan</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-multi-lingual-site-with-localization</link><pubDate>Sun, 06 Apr 2008 14:21:14 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000003610</guid><description><![CDATA[ <p>How to Make flags by language when user click on the flag </p> <p>language changed</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/Ays_Hogan.jpg?forceidenticon=false&amp;dt=635050581600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Ays_Hogan</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-multi-lingual-site-with-localization</link><pubDate>Sun, 06 Apr 2008 14:23:31 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000003611</guid><description><![CDATA[ <p>By C# plz</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/Ays_Hogan.jpg?forceidenticon=false&amp;dt=635050581600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Ays_Hogan</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-multi-lingual-site-with-localization</link><pubDate>Tue, 08 Apr 2008 06:06:14 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000003612</guid><description><![CDATA[ <p>Thank you</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/Ays_Hogan.jpg?forceidenticon=false&amp;dt=635050581600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Soha.Jawabreh</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-multi-lingual-site-with-localization</link><pubDate>Sat, 10 May 2008 03:44:08 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000003613</guid><description><![CDATA[ <p>I&#39;d like to get the C# code please </p> <p>Soha</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/Soha.Jawabreh.jpg?forceidenticon=false&amp;dt=635050581600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by kingbatspkt</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-multi-lingual-site-with-localization</link><pubDate>Mon, 12 May 2008 03:05:01 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000003614</guid><description><![CDATA[ <p>This video is very interesting but how can I do with a Menu?</p> <p>Thank you.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/kingbatspkt.jpg?forceidenticon=false&amp;dt=635050581600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Diego Vieira</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-multi-lingual-site-with-localization</link><pubDate>Fri, 23 May 2008 16:45:05 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000003615</guid><description><![CDATA[ <p>Soha, download it from the &quot;Get C# Code above&quot; or &lt;a rel=&quot;nofollow&quot; target=&quot;_new&quot; href=&quot;http://download.microsoft.com/download/5/d/6/5d6efde6-8a78-45a9-9da0-dc9dbee38936/Localization_CS.msi&quot;&gt;download.microsoft.com/.../Localization_CS.msi&lt;/a&gt;</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/Diego%20Vieira.jpg?forceidenticon=false&amp;dt=635050581600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by evelec</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-multi-lingual-site-with-localization</link><pubDate>Thu, 29 May 2008 17:42:32 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000003616</guid><description><![CDATA[ <p>This tutorial is really helpfull for a simple page but is there any advanced tutorial on Localization with MasterPage, ASP Navigation Control and SiteMap?</p> <p>Here is my problem : </p> <p>I use linkbuttons on my MasterPage to change localization (I just have 2 languages). I have localized my sitemap too. Everything works fine but I can&#39;t get the localization of the sitemap changed when another culture is selected with the buttonlink. Therefore my menu stays on initial browser language.</p> <p>Alternatively, I have tried to switch sitemaprovider depending on the culture selected but It does&#39;nt worked. </p> <p>Thank you</p> <p>Eve</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/evelec.jpg?forceidenticon=false&amp;dt=635050581600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Peter Fehrman</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-multi-lingual-site-with-localization</link><pubDate>Sun, 06 Jul 2008 13:42:28 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000003617</guid><description><![CDATA[ <p>Does this example work with MasterPages?</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/Peter%20Fehrman.jpg?forceidenticon=false&amp;dt=635050581600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by darriqb</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-multi-lingual-site-with-localization</link><pubDate>Tue, 15 Jul 2008 20:15:13 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000003618</guid><description><![CDATA[ <p>My issue is the same as Eve&#39;s and Peter&#39;s. I don&#39;t know how much testing they&#39;ve done, but I&#39;ve done a LOT. In every case when MasterPages are used, the page does not refresh properly with the resource tags from the selected language. It appears that the AutoPostBack event is executing, but not across all layers of the site. SiteMaps, Resource Keys, etc. none associated with the MasterPage, NOR those inside Content Placeholders change language.</p> <p>One odd note: as with the sample here, .NET intrensic controls do seem to change. For example, I&#39;ve put on a LoginView and LoginStatus object within my MasterPage and it appears to be changing to the requested language.</p> <p>ANY help on this would be GREATLY appreciated.</p> <p>NOTE: I have looked a the solution with cookies posted and it is not an option for us.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/darriqb.jpg?forceidenticon=false&amp;dt=635050581600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by vik20000in</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-multi-lingual-site-with-localization</link><pubDate>Thu, 17 Jul 2008 06:19:05 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000003619</guid><description><![CDATA[ <p>good one</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/vik20000in.jpg?forceidenticon=false&amp;dt=635050581600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Timmen</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-multi-lingual-site-with-localization</link><pubDate>Mon, 28 Jul 2008 09:50:18 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000003621</guid><description><![CDATA[ <p>great video, just one little remark. </p> <p>French isn&#39;t fran&#231;ois but fran&#231;ais.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/Timmen.jpg?forceidenticon=false&amp;dt=635050581600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by yamu</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-multi-lingual-site-with-localization</link><pubDate>Tue, 29 Jul 2008 16:57:32 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000003630</guid><description><![CDATA[ <p>help is needed in localization with Master page.........my application work fine, I have created menu on master page, and xml file these are working fine when I am change language from browser.. I want to change language throught combobox I donot know, when I am selecting other language it is not fact on cultural languge......... when I change it from browser and load application again then it can apply and change cultural language</p> <p>here is my code</p> <p> &lt;asp:DropDownList ID=&quot;Language1&quot; runat=&quot;server&quot; AutoPostBack=&quot;True&quot; </p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;style=&quot;top: 152px; left: 275px; position: absolute; height: 22px; width: 99px&quot;&gt;</p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&lt;asp:ListItem Value=&quot;en-US&quot;&gt;English (US)&lt;/asp:ListItem&gt;</p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&lt;asp:ListItem Value=&quot;en-GB&quot;&gt;English (UK)&lt;/asp:ListItem&gt;</p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&lt;asp:ListItem Value=&quot;fr&quot;&gt;French&lt;/asp:ListItem&gt;</p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&lt;asp:ListItem Value=&quot;sv&quot;&gt;Swedish&lt;/asp:ListItem&gt;</p> <p> &#160; &#160; &#160; &#160; &#160; &#160;&lt;/asp:DropDownList&gt;</p> <p>public partial class _Default : System.Web.UI.Page</p> <p>{</p> <p> &#160; &#160; &#160; protected override void InitializeCulture()</p> <p> &#160; &#160;{</p> <p> &#160; &#160; &#160; &#160;string lang = Request[&quot;Language1&quot;];</p> <p> &#160; &#160; &#160; &#160;if (lang != null &amp;&amp; lang != &quot;&quot;)</p> <p> &#160; &#160; &#160; &#160;{</p> <p> &#160; &#160; &#160; &#160; &#160; &#160;Thread.CurrentThread.CurrentUICulture = new CultureInfo(lang);</p> <p> &#160; &#160; &#160; &#160; &#160; &#160;Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture(lang);</p> <p> &#160; &#160; &#160; &#160;}</p> <p> &#160; &#160;}</p> <p>}</p> <p>any one help me it would be wonder ful </p> <p>Looking forward reply</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/yamu.jpg?forceidenticon=false&amp;dt=635050581600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by smartymca</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-multi-lingual-site-with-localization</link><pubDate>Tue, 05 Aug 2008 08:59:07 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000003631</guid><description><![CDATA[ <p>great video but i have a large database and i want to display all its content in hindi language.how could i do this</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/smartymca.jpg?forceidenticon=false&amp;dt=635050581600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by neerav</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-multi-lingual-site-with-localization</link><pubDate>Wed, 06 Aug 2008 05:05:11 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000003632</guid><description><![CDATA[ <p>Great Video , wel as we can change language by this way can we change the theme of full home page..?</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/neerav.jpg?forceidenticon=false&amp;dt=635050581600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by cv_vikram</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-multi-lingual-site-with-localization</link><pubDate>Fri, 08 Aug 2008 11:07:53 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000003633</guid><description><![CDATA[ <p>Very good video...thanks</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/cv_vikram.jpg?forceidenticon=false&amp;dt=635050581600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by karolita</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-multi-lingual-site-with-localization</link><pubDate>Sat, 23 Aug 2008 14:30:40 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000003634</guid><description><![CDATA[ <p>I get an Exception with Auto value:</p> <p>Culture name &#39;auto&#39; is not supported.</p> <p>Parameter name: name</p> <p>Others work fine.</p> <p>Please any help, thanks.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/karolita.jpg?forceidenticon=false&amp;dt=635050581600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by asater</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-multi-lingual-site-with-localization</link><pubDate>Tue, 26 Aug 2008 14:06:36 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000003635</guid><description><![CDATA[ <p>Very good video</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/asater.jpg?forceidenticon=false&amp;dt=635050581600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Ambika Purushothaman</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-multi-lingual-site-with-localization</link><pubDate>Tue, 16 Sep 2008 05:27:59 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000003636</guid><description><![CDATA[ <p>How do i populate year in a dropdown.Note:The year format should change according to culture.Eg:In english -2008 in Korean 2008연도</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/Ambika%20Purushothaman.jpg?forceidenticon=false&amp;dt=635050581600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by smartymscit</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-multi-lingual-site-with-localization</link><pubDate>Fri, 19 Sep 2008 00:28:12 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000003637</guid><description><![CDATA[ <p>hi 2 all........</p> <p>can anyone help me pls </p> <p>i make both default.aspx.resx and default.aspx.fr.resx file</p> <p>and insert data in xml (resx) file but i it is not disply result....</p> <p>show label with label txet and button with button text.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/smartymscit.jpg?forceidenticon=false&amp;dt=635050581600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by djibril_chimere_DIAW</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-multi-lingual-site-with-localization</link><pubDate>Mon, 27 Oct 2008 15:51:18 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000003638</guid><description><![CDATA[ <p>Thanks ! J&#235;r&#235;j&#235;f !</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/djibril_chimere_DIAW.jpg?forceidenticon=false&amp;dt=635050581600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by MAlex001</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-multi-lingual-site-with-localization</link><pubDate>Mon, 17 Nov 2008 08:55:44 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000003622</guid><description><![CDATA[ <p>Good video, but what happen with control like GridView??? How do we set up the header of the columns &#160;in different languages? </p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/MAlex001.jpg?forceidenticon=false&amp;dt=635050581600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by uniquesaiful</title><link>http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-multi-lingual-site-with-localization</link><pubDate>Tue, 18 Nov 2008 03:46:31 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000003623</guid><description><![CDATA[ <p>Culture name &quot;auto&quot; gives an exception. What &quot;auto&quot; actually means? Except this one everything is OK. Good video. Thanks.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/uniquesaiful.jpg?forceidenticon=false&amp;dt=635050581600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>