<?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>Search results matching tag 'Localization'</title><link>http://forums.asp.net/search/SearchResults.aspx?q=&amp;tag=Localization&amp;orTags=0&amp;o=DateDescending</link><description>Search results matching tag 'Localization'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>hi, doubt regarding hindi font</title><link>http://forums.asp.net/thread/3556247.aspx</link><pubDate>Wed, 09 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3556247</guid><dc:creator>anilkumar.ms</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; i&amp;#39;m storing text as hindi font in &amp;nbsp;datatable. And when displayed in server control its showing correctly. But when i export the text to word document, i&amp;#39;m getting the font like à¤°à¤µà¤¿à¤µà¤¾à¤°. Can you pl. tell me how i can display the text in hindi font.&amp;nbsp;its a bit urgent..&lt;/p&gt;
&lt;p&gt;Thanks for your patience,&lt;/p&gt;
&lt;p&gt;Anil&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Just getting started</title><link>http://forums.asp.net/thread/3551250.aspx</link><pubDate>Mon, 07 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3551250</guid><dc:creator>thinkrajesh</dc:creator><description>&lt;p&gt;Here is a good background info about localization and globalization&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.codeproject.com/Kb/aspnet/localizationByVivekTakur.aspx"&gt;http://www.codeproject.com/Kb/aspnet/localizationByVivekTakur.aspx&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Localization using Master Page</title><link>http://forums.asp.net/thread/3550037.aspx</link><pubDate>Sun, 06 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3550037</guid><dc:creator>unniml</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I have created a base class for the initializeCulture and have inherited all my aspx pages with this base class. I am using Master Page in my project. I have put a drop down for selecting the culture in my Master Page. I have used different resource files for my Master Page eg:MasterPage.master.resx, MasterPage.master.de.resx and so on.&lt;/p&gt;&lt;p&gt;Now my problem is when i select a culture from the drop down the controls which are linked to the resource files in the master page don&amp;#39;t reflect this change. However, the controls which are bind to the data source reflects the culture change.&lt;/p&gt;&lt;p&gt;Can anybody tell me what is wrong?&lt;/p&gt;&lt;p&gt;Regards,&lt;br /&gt;Unni.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>CS0101: The namespace 'Resources' already contains a definition for 'Resource1'</title><link>http://forums.asp.net/thread/3544133.aspx</link><pubDate>Wed, 02 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3544133</guid><dc:creator>timrobinson33</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am trying to localize an application into zh-Hans&amp;nbsp;(chinese simplified). When&amp;nbsp;I create a file called Resource1.zh-Hans.resx in my app_GlobalResources error the application fails to start and I get an error:&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Compiler Error Message: &lt;/b&gt;CS0101: The namespace &amp;#39;Resources&amp;#39; already contains a definition for &amp;#39;Resource1&amp;#39;&lt;/p&gt;
&lt;p&gt;I have replicated this with a simple test application.&lt;/p&gt;
&lt;p&gt;If I call the resource file Resource1.zh-CHS.resx instead it works fine&lt;/p&gt;
&lt;p&gt;The same applciation runs OK on other PCs (I have so far tried it on windows 7 64 bit and server 2003 32 bit) - it only fails on my development machine. The only admission I have to make is that I am running windows 7 RC (build 7100). Is the problem likely to be down to this?&lt;/p&gt;
&lt;p&gt;From what I can gather, the problem normally only happens if the culture name is not recognized on the machine (and I have verified this is indeed the case by using a garbage culture name). However, I can call CultureInfo.GetCultureInfo(&amp;quot;zh-Hans&amp;quot;) on my pc and it seems to return all the correct culture information so it looks like zh-Hans is installed.&lt;/p&gt;
&lt;p&gt;I have found a note at &lt;a href="http://www.mojoportal.com/faq.aspx"&gt;http://www.mojoportal.com/faq.aspx&lt;/a&gt;&amp;nbsp;dated May 2009 which seems to imply that Microsoft recommend using zh-CHS instead of zh-Hans, but I believe this to be a red herring because, as I say, it&amp;#39;s working on other PCs&lt;/p&gt;
&lt;p&gt;Has anyone got any clever suggestions of things to try before&amp;nbsp;I&amp;#39;m forced to&amp;nbsp;nuke my PC and install Windows 7 release version?&lt;/p&gt;
&lt;p&gt;--- Tim&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Calendar control localization does not work + howto to open the calendar when clicking a button.</title><link>http://forums.asp.net/thread/3531936.aspx</link><pubDate>Wed, 25 Nov 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3531936</guid><dc:creator>ehlers</dc:creator><description>&lt;p&gt;This only applies to the JavaScript version:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;After peeking into the calendarbehavior.js it seems that it would use localized day and month names out of the box. However on my machine the calendar is shown with English date format even though my Windows is configured to use danish formats. I use IE8 on Windows XP sp3.&lt;/p&gt;&lt;p&gt;Does anyone have some examples of how to enable localiztion if this is not a bug. &lt;/p&gt;&lt;p&gt;Furthermore I also miss some documentation on how to open the calendar when pressing a button next to the input field.&lt;/p&gt;&lt;p&gt;Regards, Jan&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Formatting strings - what the heck!</title><link>http://forums.asp.net/thread/3526373.aspx</link><pubDate>Sun, 22 Nov 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3526373</guid><dc:creator>higgsy</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I&amp;#39;m developing a website that displays different prices and currencies for products. I&amp;#39;m having a problem formatting currencies from within a repeater.&lt;/p&gt;&lt;p&gt;As a test, i added this code to the Page_load routine...&lt;/p&gt;&lt;p&gt;oCurrCulture = System.Threading.Thread.CurrentThread.CurrentCulture;&lt;br /&gt;litPrice.Text = 99.ToString(&amp;quot;C&amp;quot;,oCurrCulture);&lt;/p&gt;&lt;p&gt;Depending on which region i have selected from a custom control on the website, the above displays:&lt;/p&gt;&lt;p&gt;£99 or $99 or 99€&lt;/p&gt;&lt;p&gt;On the same page i have a repeater, which is listing a bunch of prices, my code is like so:&lt;/p&gt;&lt;p&gt;protected void rptSizes_ItemDataBound(object sender, RepeaterItemEventArgs e) {&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;if ((e.Item.ItemType == ListItemType.Item) || (e.Item.ItemType == ListItemType.AlternatingItem)) {&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;string strPrice = DataBinder.Eval(e.Item.DataItem, &amp;quot;price&amp;quot;).ToString();&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Literal oPrice = e.Item.FindControl(&amp;quot;litItemPrice&amp;quot;) as Literal;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;oPrice.Text = DataBinder.Eval(e.Item.DataItem, &amp;quot;price&amp;quot;).ToString(&amp;quot;C&amp;quot;, oCurrCulture);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;}&lt;/p&gt;&lt;p&gt;The code on the line starting oPrice.Text is exactly the same as within my page_load method, however i get the following error message:&lt;/p&gt;&lt;p&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;CS1501: No overload for method &amp;#39;ToString&amp;#39; takes &amp;#39;2&amp;#39; arguments&lt;/font&gt;&lt;/p&gt;&lt;p&gt;Can anyone help before i lose all my hair?!?!?&lt;/p&gt;&lt;p&gt;Thanks in advance&lt;/p&gt;&lt;p&gt;higgsy&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Localized/ Dynamic DateTime format string with fixed characters length</title><link>http://forums.asp.net/thread/3509767.aspx</link><pubDate>Thu, 12 Nov 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3509767</guid><dc:creator>ccharneca</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;people. &lt;br /&gt;&lt;br /&gt;I hope that someone can help me on this. My problem is the following:&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;have&amp;nbsp; a multi-language application that has 3 different cultures and almost everything works fine.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The problem is that I need is to change the date format string for each culture, but I wish to keep the same lenght to all. &lt;/p&gt;
&lt;p&gt;For example, in&amp;nbsp;en-US culture, the format date string&amp;nbsp;is &amp;quot;M/d/yyyy&amp;quot;, but in french is &amp;quot;dd/MM/yyyy&amp;quot;.&lt;br /&gt;&lt;br /&gt;What&amp;nbsp;I would like to have, is for example in the en-US culture the format string &amp;quot;MM/dd/yyyy&amp;quot;&lt;br /&gt;&lt;br /&gt;I would like to respect&amp;nbsp;each country&amp;#39;s culture, but I would like to add&amp;nbsp;a zero before the day or month if the lenght is equal to 1. &lt;br /&gt;&lt;br /&gt;I know this can be acheived in several ways, but I would like to know if someone has a &amp;quot;clean&amp;quot; one, that could work on&amp;nbsp;the majority of&amp;nbsp;cultures. And if the dashs could be replaced by dashs that would be fantastic :D&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hope to hear from you soon.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;Kind Regards,&lt;br /&gt;Chris.&lt;/p&gt;</description></item><item><title>How to get resource value in list iteam?</title><link>http://forums.asp.net/thread/3495458.aspx</link><pubDate>Thu, 05 Nov 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3495458</guid><dc:creator>kashyap_patel</dc:creator><description>&lt;p&gt;Hi Friends&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I know that i can bind values like given both ways but problem is like that&lt;/p&gt;
&lt;p&gt;this dropdown is in the gridview header. I want to mearge two or more resources in single list&amp;nbsp;item.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;lt;asp:DropDownList ID=&amp;quot;ddlSortBy&amp;quot; runat=&amp;quot;server&amp;quot; Width=&amp;quot;125px&amp;quot; CssClass=&amp;quot;textBoxd&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;asp:ListItem Text=&amp;quot;&amp;lt;%$Resources:JB_Commonstrings,txtSelect %&amp;gt;&amp;quot; Value=&amp;quot;-2&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:ListItem Text=&amp;quot;&amp;lt;%$Resources:JB_Commonstrings,lblUserName %&amp;gt;&amp;quot; Value=&amp;quot;UserName&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;/asp:DropDownList&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;asp:DropDownList ID=&amp;quot;ddlSortBy&amp;quot; runat=&amp;quot;server&amp;quot; Width=&amp;quot;125px&amp;quot; CssClass=&amp;quot;textBoxd&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;asp:ListItem meta:resourceKey=&amp;quot;txtSelect&amp;quot; Value=&amp;quot;-2&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:ListItem meta:resourceKey=&amp;quot;lblUserName&amp;quot; Value=&amp;quot;UserName&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;/asp:DropDownList&amp;gt;&lt;/p&gt;
&lt;p&gt;I tried&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;lt;%=&amp;nbsp; GetGlobalResourceObject(&amp;quot;JB_Commonstrings&amp;quot;,&amp;quot;txtSelect&amp;quot;) + &amp;quot; - &amp;quot; GetGlobalResourceObject(&amp;quot;JB_Commonstrings&amp;quot;,&amp;quot;txtSelect&amp;quot;)&amp;nbsp;%&amp;gt;&lt;/p&gt;
&lt;p&gt;but it got error.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Weft font embedding issue</title><link>http://forums.asp.net/thread/3493167.aspx</link><pubDate>Wed, 04 Nov 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3493167</guid><dc:creator>sujithck</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; I have a web project in asp.net 3.5 framework. In this project, i have used microsoft&amp;#39;s &amp;#39;weft&amp;#39; tools for embedding the fonts and localized the aspx pages. I have almost done the embedding but i don&amp;#39;t know where to refer that embedded font created using the weft tool&amp;nbsp; in the project. Whether in the html source of the aspx page or in css style sheet file? if so, where it should reside? please give me a detailed reply....&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Localization of web page</title><link>http://forums.asp.net/thread/3488879.aspx</link><pubDate>Mon, 02 Nov 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3488879</guid><dc:creator>sujithck</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I wanted to localize my aspx page inorder to view the users in a specific langugage. What should i do for this? Is this possible to view the website in a specific language on a user&amp;#39;s system which don&amp;#39;t have that specific language? Please give a reply ASAP.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Sujith&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>