﻿<?xml version="1.0" encoding="utf-8"?><rss 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" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - Webgrid set culture</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-set-culture/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Webgrid set culture</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-set-culture/</link><pubDate>Sun, 10 Jul 2011 22:26:49 GMT</pubDate><dc:creator>Riendy</dc:creator><category>Webgrid culture localization globalization</category><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;When you add en-US culture (to common library, not use smart web resources), the file "wglang_en-US.xml" will be create automatically. By default, all other resources will also create using the default culture, but some of resources like "copy this row" is missed by us. So we can't call it as bug.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;We are sorry for this inconvenience.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Regards.&lt;br /&gt;Riendy&lt;/p&gt;</description></item><item><title>Webgrid set culture</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-set-culture/</link><pubDate>Fri, 08 Jul 2011 05:10:30 GMT</pubDate><dc:creator>supporti-track.pmi@pmintl.com</dc:creator><category>Webgrid culture localization globalization</category><description>&lt;p&gt;But how do you explain that all other resources (like "Copy this Row" or "Copy this Table") are displayed correctly when setting culture to "en-US" (despite the fact that there is no "wglang_en-US.xml" file yet) ? &lt;/p&gt;
&lt;p&gt;For me this is clearly a bug or a bad design on Intersoft's side... could you please at least correct this for the next release?&lt;/p&gt;
&lt;p&gt;Nicolas&lt;/p&gt;</description></item><item><title>Webgrid set culture</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-set-culture/</link><pubDate>Fri, 08 Jul 2011 02:36:02 GMT</pubDate><dc:creator>Riendy</dc:creator><category>Webgrid culture localization globalization</category><description>&lt;p&gt;Hi Nicolas,&lt;/p&gt;&lt;p&gt;Unfortunately we cannot replace it with the default culture, because we must define what culture that we use, so the WebGrid know what file(.xml) that should be reverted.&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(63, 63, 63); font-family: 'segoe ui', arial, verdana, tahoma; font-size: 12px; line-height: 18px; "&gt;&lt;strong style="font-family: 'segoe ui', arial, verdana, tahoma; "&gt;--&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(63, 63, 63); font-family: 'segoe ui', arial, verdana, tahoma; font-size: 12px; line-height: 18px; "&gt;&lt;strong style="font-family: 'segoe ui', arial, verdana, tahoma; "&gt;So now, could you please explain me what I did wrong and why the english resource disappears using "en-US" culture, though still present in "default.xml" (see "&amp;lt;CopySelection&amp;gt;Copy Selection&amp;lt;/CopySelection&amp;gt;")?&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Regarding to your question above, the english resource disappears using en-US culture though still present in default.xml(en-US), because when you use en-US, WebGrid doesn't revert to default.xml altough it use en-US culture. To solve this problem, You have to create the resource of en-US culture (wglang_en-US.xml). I have tried to copy all data in default.xml to en-US culture file and it works as well as ex2.PNG. If you think that default.xml can solve en-US culture, you can follow my way to copy the resources from default.xml to wglang_en-US.xml.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;br /&gt;Riendy&lt;/p&gt;
&lt;p&gt;&lt;font class="Apple-style-span" style="color: rgb(63, 63, 63); font-family: 'segoe ui', arial, verdana, tahoma; "&gt;&lt;span style="font-size: 12px; line-height: 18px; "&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Webgrid set culture</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-set-culture/</link><pubDate>Thu, 07 Jul 2011 05:40:47 GMT</pubDate><dc:creator>supporti-track.pmi@pmintl.com</dc:creator><category>Webgrid culture localization globalization</category><description>&lt;p&gt;Hi Riendy,&lt;/p&gt;
&lt;p&gt;I understand that you don't have all localization cultures. The issue here has nothing to do with missing localizations as my example is using the default culture (filename="default.xml" culture="en-US").&lt;/p&gt;
&lt;p&gt;Please let's try a simple example with Intersoft's WebGrid7 sample.&lt;br /&gt;If I take the 'MultipleRowSelection.aspx' web page sample and I add&lt;/p&gt;&lt;pre&gt;protected void Page_Load(object sender, EventArgs e)
{
	Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US"); // or "fr-FR"
	WebGrid1.LayoutSettings.TextSettings.Language = LanguageMode.UseCulture;
}&lt;/pre&gt;

&lt;p&gt;in code behind, if I select multiple rows and I right-click to make appear the context menu, I get the following issue: missing resource for "Copy Selection" (see attached image "ex1.PNG"). This resource is however available by default (see "ex2.PNG") in "default.xml" (culture="en-US").&lt;/p&gt;
&lt;p&gt;Of course, if I use another IS's EXISTING culture (fr-FR), everything works well but "Copy Selection" (see "ex3.PNG"), which is OK, as the concerned resource ("&amp;lt;CopySelection&amp;gt;") is clearly missing in "wglang_fr-FR.xml".&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;So now, could you please explain me what I did wrong and why the english resource disappears using "en-US" culture,&amp;nbsp;though still present in "default.xml" (see "&amp;lt;CopySelection&amp;gt;Copy Selection&amp;lt;/CopySelection&amp;gt;")?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;As a suggestion for a solution, couldn't you display at least the default culture text resource if this one is missing in the current culture instead of just blank? &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This would be much more user friendly and would avoid complaints from our lost users...&lt;/p&gt;
&lt;p&gt;Thank you and best regards,&lt;/p&gt;
&lt;p&gt;Nicolas&lt;/p&gt;</description></item><item><title>Webgrid set culture</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-set-culture/</link><pubDate>Tue, 05 Jul 2011 23:13:18 GMT</pubDate><dc:creator>Riendy</dc:creator><category>Webgrid culture localization globalization</category><description>&lt;p style="color: rgb(63, 63, 63); font-size: 12px; line-height: 18px; font-family: 'segoe ui', arial, verdana, tahoma; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;Hi Nicolas,&lt;/p&gt;&lt;p style="color: rgb(63, 63, 63); font-size: 12px; line-height: 18px; font-family: 'segoe ui', arial, verdana, tahoma; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;This is not an issue in WebGrid's language property. This problem appear because we have missing several culture. If the language's xml which you use is not in localization folder (or the xml is empty), you have to fill it manually. For the details of steps, please follow the steps that yudi gave above.&lt;br /&gt;&lt;/p&gt;
&lt;p style="color: rgb(63, 63, 63); font-size: 12px; line-height: 18px; font-family: 'segoe ui', arial, verdana, tahoma; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;NOTE: your project must a local host WebSite project, not use SmartWebResources™ (To open the language in common library folder)&lt;/p&gt;
&lt;p style="color: rgb(63, 63, 63); font-size: 12px; line-height: 18px; font-family: 'segoe ui', arial, verdana, tahoma; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;Hope this helps.&lt;br style="font-family: 'segoe ui', arial, verdana, tahoma; " /&gt;Riendy&lt;/p&gt;
&lt;p style="color: rgb(63, 63, 63); font-size: 12px; line-height: 18px; font-family: 'segoe ui', arial, verdana, tahoma; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style="color: rgb(63, 63, 63); font-size: 12px; line-height: 18px; font-family: 'segoe ui', arial, verdana, tahoma; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Webgrid set culture</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-set-culture/</link><pubDate>Mon, 04 Jul 2011 10:10:01 GMT</pubDate><dc:creator>supporti-track.pmi@pmintl.com</dc:creator><category>Webgrid culture localization globalization</category><description>&lt;p&gt;Hi again,&lt;/p&gt;
&lt;p&gt;I found an issue using WebGrid.LayoutSettings.TextSettings.Language property.&lt;/p&gt;
&lt;p&gt;As long as you change this property to any other than default (UseDefault), some resources disappear.&lt;/p&gt;
&lt;p&gt;Example: WebGrid.LayoutSettings.TextSettings.Language = LanguageMode.UseCulture&lt;br /&gt;=&amp;gt; context menu have empty menu items for "Copy Selection" and "Delete Selection".&lt;/p&gt;
&lt;p&gt;Thank you and best regards,&lt;/p&gt;
&lt;p&gt;Nicolas&lt;/p&gt;</description></item><item><title>Webgrid set culture</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-set-culture/</link><pubDate>Tue, 22 Mar 2011 23:42:16 GMT</pubDate><dc:creator>yudi</dc:creator><category>Webgrid culture localization globalization</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Please allow me to update the most recent status of the issue in this thread.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Me and &lt;a href="http://www.intersoftpt.com/Community/Users/supporti-track.pmi@pmintl.com/"&gt;supporti-track.pmi@pmintl.com&lt;/a&gt; have worked closely and managed to have the “Russian language” as the culture of WebGrid by implementing the wglang_ru-RU.xml file into the CommonLibrary folder.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;I would like to express my compliment for his patience and cooperation. Thank you very much.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Webgrid set culture</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-set-culture/</link><pubDate>Sun, 13 Mar 2011 23:20:08 GMT</pubDate><dc:creator>yudi</dc:creator><category>Webgrid culture localization globalization</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;In order to add the reference files, you can open the corresponding folder; select the required files; copy the files; and paste it to the bin folder of WebGridCulture project.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;You may either keep the following line or remove the settings in web.config file.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;That line of code says that if those reference files (ISNet.dll and ISNet.WebUI.dll) is not available in the project’s bin folder, then it will check in the GAC (Global Assembly Cache at “%SystemRoot%\Assembly” folder).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;I have sent you a message; please kindly check the inbox of your registered email account.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Webgrid set culture</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-set-culture/</link><pubDate>Fri, 11 Mar 2011 06:37:28 GMT</pubDate><dc:creator>supporti-track.pmi@pmintl.com</dc:creator><category>Webgrid culture localization globalization</category><description>&lt;p&gt;Hello Yudi,&lt;/p&gt;
&lt;p&gt;If I use your sample project WebGridCulture.zip, I can't add references you mentioned in section 5 of your procedure (juste above).&lt;/p&gt;
&lt;p&gt;The reference files are already in web.config you sent me...&lt;/p&gt;
&lt;p&gt;If I remove all and try to re-reference the dll, here is the result (see attached pictures).&lt;/p&gt;
&lt;p&gt;Am I right about adding a virtual directory for CommonLibrary? (see iis.png)&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Nicolas&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>Webgrid set culture</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-set-culture/</link><pubDate>Thu, 10 Mar 2011 03:17:52 GMT</pubDate><dc:creator>yudi</dc:creator><category>Webgrid culture localization globalization</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;The sample that I sent you on my previous post is a localhost website project (not using SmartWebResources&amp;trade;). Please carefully follow the step-by-step below in order to have the sample run on your end.&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;&lt;li&gt;Assume that the sample is tested on your development PC. Please open “&lt;strong&gt;%ProgramFiles%\Intersoft Solutions\WebUI Studio for ASP.NET\Common Library\WebGrid\V7_0_7200\Localization&lt;/strong&gt;” folder and you should find existing culture that supported by WebGrid.&lt;/li&gt;&lt;li&gt;Download &lt;strong&gt;wglang_ru-RU.xml&lt;/strong&gt; file attached in my previous post and move the file into the “&lt;strong&gt;%ProgramFiles%\Intersoft Solutions\WebUI Studio for ASP.NET\Common Library\WebGrid\V7_0_7200\Localization&lt;/strong&gt;” folder.&lt;/li&gt;&lt;li&gt;Open &lt;strong&gt;IIS&lt;/strong&gt; (type “inetmgr” in the Run… command) and ensure that the “CommonLibrary” application is available in the “Default Web Site”.&lt;/li&gt;&lt;li&gt;Download and extract &lt;strong&gt;WebGridCulture.zip&lt;/strong&gt; file attached in my previous post.&lt;/li&gt;&lt;li&gt;Open the “&lt;strong&gt;Bin&lt;/strong&gt;” folder of WebGridCulture website project and add following reference files. 
&lt;ul&gt;&lt;li&gt;&lt;strong&gt;ISNet.dll&lt;/strong&gt; and &lt;strong&gt;ISNet.WebUI.dll&lt;/strong&gt; (obtained from “&lt;strong&gt;%ProgramFiles%\Intersoft Solutions\WebUI Studio for ASP.NET\WebUI.NET Framework 3.0\Bin&lt;/strong&gt;” folder).&lt;/li&gt;&lt;li&gt;&lt;strong&gt;ISNet.WebUI.WebGrid.dll&lt;/strong&gt; (obtained from "&lt;strong&gt;%ProgramFiles%\Intersoft Solutions\WebUI Studio for ASP.NET\WebGrid.NET 7.0\Bin&lt;/strong&gt;" folder).&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;Open IIS, add an application, point and set the physical path of this new application to the WebGridCulture website project.&lt;/li&gt;&lt;li&gt;Try to run the &lt;strong&gt;Default.aspx&lt;/strong&gt; sample file.&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Webgrid set culture</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-set-culture/</link><pubDate>Tue, 01 Mar 2011 04:22:10 GMT</pubDate><dc:creator>supporti-track.pmi@pmintl.com</dc:creator><category>Webgrid culture localization globalization</category><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I'm trying to set russian culture to the webgrid.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I attached an example that I tried to modify from you samples.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;As you can see, I try to set the culture of the webgrid in the page_load event, but it doesn't work.&lt;/p&gt;
&lt;p&gt;For example, the label "ready" that normally appears on the footer isn't displayed anymore.&lt;/p&gt;
&lt;p&gt;Am I right? Do I need to set a language file name for other languages?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Nicolas&lt;/p&gt;</description></item></channel></rss>