Localizationhttp://forums.asp.net/151.aspx/1?LocalizationDiscuss techniques for localizing content for different languages and locales with ASP.NET.Mon, 29 Apr 2013 10:26:35 -0400urn:uuid:00000000-0000-0000-0000-000000000151urn:uuid:00000000-0000-0000-0000-000005396629http://forums.asp.net/p/1906665/5396629.aspx/1?Issues+with+GENERATE+LOCAL+RESOURCE+FILE+Issues with GENERATE LOCAL RESOURCE FILE...............? <p>hi,</p> <p>1) we generate the localresource file using ..TOOLS&gt;GENERATE LOCAL RESOURCE ... (VS 2012)</p> <p>2)&nbsp; problem as follows........</p> <p>========================================================================================</p> <p>3) <strong>BEFORE </strong>&nbsp;generate the resources...............its look like below</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;a<span face="Consolas" size="2" style="font-family:Consolas; font-size:small"><span face="Consolas" size="2" style="font-family:Consolas; font-size:small"> </span></span><span face="Consolas" color="#ff0000" size="2" style="color:#ff0000; font-family:Consolas; font-size:small"><span face="Consolas" color="#ff0000" size="2" style="color:#ff0000; font-family:Consolas; font-size:small"><span face="Consolas" color="#ff0000" size="2" style="color:#ff0000; font-family:Consolas; font-size:small">href</span></span></span><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small"><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small"><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small">='</span></span></span><span face="Consolas" size="2" style="font-family:Consolas; font-size:small"><span face="Consolas" size="2" style="font-family:Consolas; font-size:small">&lt;%</span></span><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small"><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small"><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small">=</span></span></span><span face="Consolas" color="#2b91af" size="2" style="color:#2b91af; font-family:Consolas; font-size:small"><span face="Consolas" color="#2b91af" size="2" style="color:#2b91af; font-family:Consolas; font-size:small"><span face="Consolas" color="#2b91af" size="2" style="color:#2b91af; font-family:Consolas; font-size:small">Url</span></span></span><span face="Consolas" size="2" style="font-family:Consolas; font-size:small"><span face="Consolas" size="2" style="font-family:Consolas; font-size:small">.SomePathDetail%&gt;&lt;%</span></span><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small"><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small"><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small">#</span></span></span><span face="Consolas" size="2" style="font-family:Consolas; font-size:small"><span face="Consolas" size="2" style="font-family:Consolas; font-size:small"> Eval(</span></span><span face="Consolas" color="#a31515" size="2" style="color:#a31515; font-family:Consolas; font-size:small"><span face="Consolas" color="#a31515" size="2" style="color:#a31515; font-family:Consolas; font-size:small"><span face="Consolas" color="#a31515" size="2" style="color:#a31515; font-family:Consolas; font-size:small">&quot;SomeID&quot;</span></span></span><span face="Consolas" size="2" style="font-family:Consolas; font-size:small"><span face="Consolas" size="2" style="font-family:Consolas; font-size:small">)%&gt;</span></span><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small"><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small"><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small">&amp;Mode=SomeMode'&gt;</span></span></span><span face="Consolas" size="2" style="font-family:Consolas; font-size:small"><span face="Consolas" size="2" style="font-family:Consolas; font-size:small"> TEST DATA </span></span><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small"><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small"><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small">&lt;/</span></span></span><span face="Consolas" color="#800000" size="2" style="color:#800000; font-family:Consolas; font-size:small"><span face="Consolas" color="#800000" size="2" style="color:#800000; font-family:Consolas; font-size:small"><span face="Consolas" color="#800000" size="2" style="color:#800000; font-family:Consolas; font-size:small">a</span></span></span><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small"><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small"><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small">&gt;</span></span></span></p> <p><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small"><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small"><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small"></span></span></span>&nbsp;</p> <p><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small"><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small"><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small">4) <strong>AFTER </strong>generate the resources...............its look like below</span></span></span></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;a<span face="Consolas" size="2" style="font-family:Consolas; font-size:small"><span face="Consolas" size="2" style="font-family:Consolas; font-size:small"> </span></span><span face="Consolas" color="#ff0000" size="2" style="color:#ff0000; font-family:Consolas; font-size:small"><span face="Consolas" color="#ff0000" size="2" style="color:#ff0000; font-family:Consolas; font-size:small"><span face="Consolas" color="#ff0000" size="2" style="color:#ff0000; font-family:Consolas; font-size:small">href</span></span></span><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small"><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small"><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small">='</span></span></span><span face="Consolas" size="2" style="font-family:Consolas; font-size:small"><span face="Consolas" size="2" style="font-family:Consolas; font-size:small">Eval(</span></span><span face="Consolas" color="#a31515" size="2" style="color:#a31515; font-family:Consolas; font-size:small"><span face="Consolas" color="#a31515" size="2" style="color:#a31515; font-family:Consolas; font-size:small"><span face="Consolas" color="#a31515" size="2" style="color:#a31515; font-family:Consolas; font-size:small">&quot;SomeID&quot;</span></span></span><span face="Consolas" size="2" style="font-family:Consolas; font-size:small"><span face="Consolas" size="2" style="font-family:Consolas; font-size:small">)%&gt;</span></span><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small"><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small"><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small">&amp;Mode=SomeMode&quot;&gt;</span></span></span><span face="Consolas" size="2" style="font-family:Consolas; font-size:small"><span face="Consolas" size="2" style="font-family:Consolas; font-size:small"> TEST DATA </span></span><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small"><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small"><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small">&lt;/</span></span></span><span face="Consolas" color="#800000" size="2" style="color:#800000; font-family:Consolas; font-size:small"><span face="Consolas" color="#800000" size="2" style="color:#800000; font-family:Consolas; font-size:small"><span face="Consolas" color="#800000" size="2" style="color:#800000; font-family:Consolas; font-size:small">a</span></span></span><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small"><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small"><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small">&gt;</span></span></span></p> <p><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small"><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small"><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small">========================================================================================</span></span></span></p> <p><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small"><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small"><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small">THE PROBLEM :: after generate the resource file ... HREF tag MISSED the FIRST PART</span></span></span></p> <p><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small"><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small"><span face="Consolas" color="#0000ff" size="2" style="color:#0000ff; font-family:Consolas; font-size:small">========================================================================================</span></span></span></p> 2013-05-17T06:24:22-04:002013-05-17T06:24:22.8-04:00urn:uuid:00000000-0000-0000-0000-000005395040http://forums.asp.net/p/1906290/5395040.aspx/1?How+could+i+exclude+div+from+localization+in+master+pageHow could i exclude div from localization in master page <p>How could i exclude div from localization in master page,</p> <p>I have a master page and inside master page there is Div i want div direction en-GB not changing when i change language to arabic ( from right to left) i want this div not changing what ever i changed the localization language</p> 2013-05-15T16:18:49-04:002013-05-15T16:18:49.377-04:00urn:uuid:00000000-0000-0000-0000-000005388791http://forums.asp.net/p/1904841/5388791.aspx/1?Concatenation+problemConcatenation problem <p>Hi all I am facing a unique challenge..Please help me with this!!</p> <p>i have a regular expression validator</p> <pre class="prettyprint">&lt;asp:RegularExpressionValidator ID=&quot;txtCustomField3SpecialCharValidator&quot; ControlToValidate=&quot;txtCustomField3&quot; runat=&quot;server&quot; ValidationExpression=&quot;^[a-zA-Z 0-9,._#/@\-\[\]\)\(\:]*$&quot; Display=&quot;None&quot; meta:resourcekey=&quot;regexCustomField3SpecialCharValidator&quot;/&gt;</pre> <p>and a label control</p> <pre class="prettyprint"> &lt;asp:Label ID="lblCustomField3" runat="server" CssClass="aspLabel" meta:resourcekey="lblCustomField3Resource1"/<br /><br /></pre> <p>&nbsp;when some special characters is enter the regular expression validator error message is shown from the local resource file like this</p> <pre class="prettyprint">&lt;data name="regexCustomField3SpecialCharValidator.ErrorMessage" xml:space="preserve"&gt; &lt;value&gt;please provide valid value&lt;/value&gt; &lt;/data&gt;</pre> <p>What i want to do is i want to display error message like :</p> <p>lblCustomField3.text: please provide valid value.</p> <p>how can i do it in a resource&nbsp;file. or there is some another way!!</p> <p>&nbsp;</p> <p>Many Thanks<br> <br> &nbsp;</p> 2013-05-09T06:38:46-04:002013-05-09T06:38:46.307-04:00urn:uuid:00000000-0000-0000-0000-000005349255http://forums.asp.net/p/1894633/5349255.aspx/1?Globalizing+data+from+databaseGlobalizing data from database <p>Hi</p> <p>I want to globalize my application and there are some data than come from database to populate lists(eg DropDownLists). Is there any known way that I can use to design all necessaries from database tables to user interface.</p> <p>Thanks</p> 2013-04-01T17:40:12-04:002013-04-01T17:40:12.767-04:00urn:uuid:00000000-0000-0000-0000-000005382630http://forums.asp.net/p/1903374/5382630.aspx/1?How+to+change+Master+page+direction+from+left+to+rightHow to change Master page direction from left to right <p>How to change Master page direction from left to right when press buttonA, and from left ot right when press button B</p> <p>here the buttons code</p> <p>protected void RequestLanguageChange_Click(object sender, EventArgs e)<br> {<br> LinkButton senderLink = sender as LinkButton;</p> <p>if (Session[&quot;LangID&quot;].ToString() != senderLink.CommandArgument)<br> {<br> <span style="font-size:13px">Session[&quot;LangID&quot;] = senderLink.CommandArgument;</span></p> <p><span style="font-size:13px">HttpContext.Current.Server.Transfer(Request.Url.AbsolutePath);</span><br> <br> Server.Transfer(Request.Url.LocalPath);<br> }</p> <p>}</p> <p></p> <p>on page load</p> <p>if&nbsp;</p> <p>MasterBody.Attributes.Add(&quot;float&quot;, &quot;right&quot;);<br> MasterBody.Attributes.Add(&quot;dir&quot;, &quot;rtl&quot;);</p> <p>the code work fine , but when login and then logOut and change language then the error</p> <p></p> <p>Error executing child request for /Account/Login. because of&nbsp;<br> <strong><em>Server.Transfer(Request.Url.LocalPath);</em></strong></p> 2013-05-02T20:07:02-04:002013-05-02T20:07:02.1-04:00urn:uuid:00000000-0000-0000-0000-000005378643http://forums.asp.net/p/1902518/5378643.aspx/1?Sitemappath+titleSitemappath title <p>I want to multilanguage my sitemappath with global resource how should I do this?</p> <p>I tried this but doesn't work what do I wrong<br> web.sitmap:</p> <pre class="default prettyprint prettyprinted"><pre class="prettyprint">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&gt; &lt;siteMap xmlns=&quot;http://schemas.microsoft.com/AspNet/SiteMap-File-1.0&quot; &gt; &lt;siteMapNode title='$Resources: Resource, Home' url=&quot;~/Home&quot; &gt; &lt;siteMapNode url=&quot;Login.aspx&quot; title=&quot;$Resources: Resource, Login&quot; /&gt;</pre></pre> <p>but if I do this I see (&quot;Nothing&quot; separator &quot;Nothing&quot;)</p></pre> 2013-04-29T13:54:50-04:002013-04-29T13:54:50.91-04:00urn:uuid:00000000-0000-0000-0000-000005374784http://forums.asp.net/p/1901594/5374784.aspx/1?Sitemappath+multilanguageSitemappath multilanguage <p>Hi,</p> <p>I got a problem, my site is&nbsp;through Global Resources multi languaged but my sitemappath not.</p> <p>How can I do make my sitemappath multi language?</p> 2013-04-25T09:59:15-04:002013-04-25T09:59:15.503-04:00urn:uuid:00000000-0000-0000-0000-000005366458http://forums.asp.net/p/1899642/5366458.aspx/1?Change+the+direction+of+the+page+ltr+and+rtl+when+switching+language+between+English+and+ArabicChange the direction of the page (ltr and rtl), when switching language between English and Arabic <p>Hello,</p> <p>I'm createing a website in asp.net 2010 sp1,&nbsp; the user can choose the language he wants (between English and Arabic).</p> <p>I created 2 columns in DB and when the user changes the language i will load the text and disply it in Literal control.</p> <p>I tried to use the localization, the problem I'm curently having is with the <strong> direction of the page, </strong>in arabic the direction is from <strong>right to left</strong>, can anyone tell me how to change the direction of the page (div)?</p> <p>In English &lt;div style=&quot;direction:ltr&quot;&gt;&lt;/div&gt;</p> <p>While in arabic &lt;div style=&quot;direction:rtl&quot;&gt;&lt;/div&gt;</p> <p>How to change the direction using localization?</p> <p>Thanks</p> 2013-04-17T09:22:34-04:002013-04-17T09:22:34.77-04:00urn:uuid:00000000-0000-0000-0000-000005363845http://forums.asp.net/p/1899031/5363845.aspx/1?Multilingual+supportMultilingual support <p>Hi,</p> <p>I want to display my site in the language chosen by the customer. How to do it.</p> <p></p> 2013-04-15T07:17:13-04:002013-04-15T07:17:13.493-04:00urn:uuid:00000000-0000-0000-0000-000005344532http://forums.asp.net/p/1893508/5344532.aspx/1?Get+value+from+language+specific+resource+file+without+changing+the+site+languageGet value from language specific resource file without changing the site language <p>I have several local resource files: default.aspx.resx, default.aspx.nl.resx, default.aspx.en.resx</p> <p>Now when I'm on the Dutch domain the default.aspx.nl.resx is loaded. But now I want to access the value from default.aspx.en.resx and get the English value belonging to name &quot;title&quot;.</p> <p>I can now achieve this by changing the current culture server-side, access the value and then change it back, like so:</p> <p>Dim culture As CultureInfo = New CultureInfo(&quot;en&quot;)<br> Threading.Thread.CurrentThread.CurrentCulture = culture<br> Threading.Thread.CurrentThread.CurrentUICulture = culture<br> Dim title as String = GetLocalResourceObject(&quot;title&quot;)<br> culture = New CultureInfo(&quot;nl&quot;)<br> Threading.Thread.CurrentThread.CurrentCulture = culture<br> Threading.Thread.CurrentThread.CurrentUICulture = culture<br> But is there a better/faster way? Preferably without have to change the culture for the current thread, so I can just define which resource file I want to access and in which language?<br> <br> I saw this link: <a href="http://msdn.microsoft.com/fr-fr/library/ms149953.aspx" rel="nofollow"> http://msdn.microsoft.com/fr-fr/library/ms149953.aspx</a><br> I don't see any example here, so I don't know how to use it.<br> I tried this:&nbsp;<span>GetLocalResourceObject(&quot;title&quot;, &quot;en&quot;), it doesn't work, since apparently there's no overloaded function like this available.&nbsp;<br> <br> </span>I'm using ASP.NET&nbsp;4.5</p> 2013-03-26T20:58:05-04:002013-03-26T20:58:05.273-04:00urn:uuid:00000000-0000-0000-0000-000005358859http://forums.asp.net/p/1897089/5358859.aspx/1?Custom+CultureCustom Culture <p>Hi</p> <p>We are using en-ZA in our web.config to set the Culture for our Web site.</p> <p>However the Decimal seperator for Numbers and Currency is a &quot;Comma&quot; (,) and not a &quot;period&quot; (.)</p> <p>We have&nbsp;changed the&nbsp;sperator for the culture on the Server's Regional Settings and Copied and Applied to all System Accounts.&nbsp;</p> <p>Our Controls still display the Default Seperator and not the customized seperator.</p> <p>Is there an easy way to&nbsp;force the application to use the customized culture. We are using Windows 2012 Server and IIS 8.</p> <p>&nbsp;</p> 2013-04-10T14:43:40-04:002013-04-10T14:43:40.573-04:00urn:uuid:00000000-0000-0000-0000-000005357909http://forums.asp.net/p/1896866/5357909.aspx/1?How+to+achieve+the+localization+concept+in+diplaying+the+zip+code+and+time+in+the+MVC+applicationHow to achieve the localization concept in diplaying the zip code and time in the MVC application <p>Hi,</p> <p>I have a scenario in which I need to display the zip code and time based on the user locale. i.e If UK users are seeing pincode zip code should be in their format and if&nbsp;US users are seeing then zipcode should be displayed in their format. How will I acheive this with Localization concept in MVC</p> 2013-04-09T19:15:03-04:002013-04-09T19:15:03.46-04:00urn:uuid:00000000-0000-0000-0000-000005344011http://forums.asp.net/p/1893382/5344011.aspx/1?Globalization+problemGlobalization problem <p>I have a website in languages English and Polish. I have two files in&nbsp; App_GlobalResources: Site.en-US.aspx and Site.aspx</p> <p>To set the UI culture and culture for all pages, I added a globalization section to the Web.config file.</p> <p><strong>&lt;globalization uiCulture=&quot;pl-PL&quot; culture=&quot;pl-PL&quot; /&gt;</strong></p> <p>Localy my application works ok.&nbsp; When I install website on server all Labels like:</p> <p><strong>&lt;asp:Label ID=&quot;Label1&quot; runat=&quot;server&quot; Text=&quot;&lt;%&#36; Resources:Site, ABC %&gt;&quot;&gt;&lt;/asp:Label&gt;</strong></p> <p>get Text from Site.en-US.aspx but when I use programmatic access :</p> <p><strong>rm = new ResourceManager(&quot;Resources.Site&quot;</strong></p> <p><strong>System.Reflection.Assembly.Load(&quot;App_GlobalResources&quot;));</strong></p> <p><strong>ci = Thread.CurrentThread.CurrentCulture;</strong></p> <p><strong>Label1.Text = rm.GetString(&quot;ABC&quot;, ci);</strong></p> <p>I have Text form Site.aspx.</p> <p><span id="result_box" lang="en" class="short_text"><span class="hps">I think that the server is</span> <span class="hps">set to</span> <span class="hps">en-US</span> <span class="hps"> language.</span></span></p> <p><span lang="en" class="short_text"><span class="hps">How can I&nbsp;fix my problem?</span></span></p> 2013-03-26T12:08:57-04:002013-03-26T12:08:57.033-04:00urn:uuid:00000000-0000-0000-0000-000005344061http://forums.asp.net/p/1893390/5344061.aspx/1?MaxLength+support+for+globalizationMaxLength support for globalization <p>For MaxLength&nbsp;I18N support</p> <p>I have couple of below options which i am thinking on can you provide your insight on the same:</p> <p>1. Supporting MaxLength in Culture Specific way : Place MaxLength value in a resource file and read the value from resource file (need to use &quot;&lt;%&#36; Resources: XYZ_MaxLength%&gt;&quot; manually in ASP.NET ASPX page).</p> <p>&nbsp; So each of the culture will have different MaxLength values, Database installation or setup will go with MaxLength value untill WebSite is supporting single language at a time.</p> <p>&nbsp;Drawbacks: how do we know whats the accepatable MaxLength value, may be respective language experts are the correct people to suggest MaxLength.</p> <p>2. Universal Max Length value : We can go for universal value which will fit for all languages.Challange with this approach how to comeup with Universal MaxLength value again.</p> 2013-03-26T12:56:00-04:002013-03-26T12:56:00.547-04:00urn:uuid:00000000-0000-0000-0000-000003824418http://forums.asp.net/p/1555668/3824418.aspx/1?Currency+Format+in+Datalist+Label+Currency Format in Datalist, Label <p>hi ! I can displays the number value as currency format but I wanna show it as Euro, English sterling and USd ! </p> <p><code id="code2">&lt;asp:Label runat=&quot;server&quot; ID=&quot;UnitPriceLabel&quot; Text='&lt;%# Eval(&quot;UnitPrice&quot;, &quot;{0:C}&quot;) %&gt;' /&gt; </code></p> <p><br> </p> <p>I used the above code ! What can I do ?<br> </p> <p><br> </p> 2010-05-08T00:32:33-04:002010-05-08T00:32:33.157-04:00urn:uuid:00000000-0000-0000-0000-000005332048http://forums.asp.net/p/1889670/5332048.aspx/1?How+can+I+use+localized+built+in+validation+messages+EF5+MVC4+How can I use localized built-in validation messages? (EF5, MVC4) <p>Hi there,</p> <p>Validation messages on my german environment are shown in german. But published to my american hoster they are shown in english. I changed the globalization within the web.config. Without the desired result.</p> <p>I found many solutions to build my own localization-files, but I want to use the build-in messages. In nuget I found a resource for localized EF-Messages. I searched for hours finding an answer how I can use the &quot;German Resource For Entity Framework&quot;. In a MVC4 sample project from Microsoft it is installed by default. I can see a dll called &quot;EntityFramework.resources.dll&quot; in a folder called &quot;de&quot;.</p> <p>But I do not know how to use it. I do not even know wether it is what I am looking for.</p> <p>Any ideas?</p> 2013-03-14T21:10:50-04:002013-03-14T21:10:50.977-04:00urn:uuid:00000000-0000-0000-0000-000005328958http://forums.asp.net/p/1889000/5328958.aspx/1?Crazier+localizationCrazier localization <p>Hej fellers, i have a site that is localized to 5 languages. I had a problem writing the same resource for all the 5 languages so i decided to place some global resources in the <span>App_GlobalResources.</span> The disadvantage i have found in this is that the resources in APP_GlobalResources become too large to even manage. Any work around from this?</p> 2013-03-12T11:10:06-04:002013-03-12T11:10:06.17-04:00urn:uuid:00000000-0000-0000-0000-000005284220http://forums.asp.net/p/1878434/5284220.aspx/1?How+to+reload+a+resource+set+How to reload a resource set? <p>I have a resourcemanager that implements IResourceReader for a sql database. We have created a resource editor but cannot figure out how to force a ResourceSet to reload after the edits. If you call .Close and = new ResourceSet(XXX); It throws errors when it next attempts to read.</p> <p>ANy ideas how to get a resourceset out of the cache and to reload?</p> 2013-01-28T15:29:10-05:002013-01-28T15:29:10.813-05:00urn:uuid:00000000-0000-0000-0000-000005275775http://forums.asp.net/p/1876391/5275775.aspx/1?Standard+SEO+for+asp+localizationStandard SEO for asp localization <p>Localization using resource files is the asp.net standard. It is useful in many ways, but in standard form, multiple languages are not indexed by bots. Is there asp.net standard SEO for sites using resource files so they can be indexed in all the languages defined by respective resource files?</p> 2013-01-19T08:54:12-05:002013-01-19T08:54:12.75-05:00urn:uuid:00000000-0000-0000-0000-000005317184http://forums.asp.net/p/1886127/5317184.aspx/1?Dynamic+data+driven+website+localizationDynamic data-driven website localization <p>hello everyone,</p> <p>i have a website that reads some of its content from a database, i need this website in both languages, English and arabic.</p> <p>the needed content is duplicated in the database in both languages. lets say i have a En_Name and Ar_Name columns in my database.</p> <p>and for example for the arabic version of the website a link will display a text from Ar_Name , and with the english one it should display the text from the En_Name.</p> <p>for the static content in my website i think it is a good idea to use the ASP.NET default localization using (.resx files). but what i dont know is how to do the localization for the dynamic section of the website.&nbsp;</p> <p>So, how can i make the same hyperLink read once from the Ar_Name field, and then from the En_Name based on the users choise (Localization)?</p> 2013-02-28T08:38:29-05:002013-02-28T08:38:29.76-05:00