﻿<?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 Localization questions</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-Localization-questions/</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 Localization questions</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-Localization-questions/</link><pubDate>Wed, 16 Mar 2011 09:26:44 GMT</pubDate><dc:creator>Gmontes</dc:creator><category>WebGrid</category><description>&lt;div&gt;Yeah, that settles it.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;Thanks Martin.</description></item><item><title>WebGrid Localization questions</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-Localization-questions/</link><pubDate>Wed, 16 Mar 2011 03:41:08 GMT</pubDate><dc:creator>MarTin</dc:creator><category>WebGrid</category><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Here is the answer for your questions.&lt;/p&gt;
&lt;p&gt;1) I don't need the whole 'CommonLibrary' folder in production, just 'CommonLibrary/WebGrid/v7_0_722/Localization', right?&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Yes, you only need the folder that is related with the localization.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;2) Would the steps I tookt be enough to settle the localization issue? (That is moving the files, setting those TextSetting properties and adding the web.config key)&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Yes, once you set the configuration in web.config, WebGrid will detect and read the location specified in that file.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;</description></item><item><title>WebGrid Localization questions</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-Localization-questions/</link><pubDate>Tue, 15 Mar 2011 10:03:26 GMT</pubDate><dc:creator>Gmontes</dc:creator><category>WebGrid</category><description>&lt;p&gt;Hi Martin,&lt;/p&gt;&lt;p&gt;Yeah, your reply answers most of my questions. Still, could you help me confirm the two remaining?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;1) I don't need the whole 'CommonLibrary' folder in production, just 'CommonLibrary/WebGrid/v7_0_722/Localization', right?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;2) Would the steps I tookt be enough to settle the localization issue? (That is moving the files, setting those TextSetting properties and adding the web.config key)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>WebGrid Localization questions</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-Localization-questions/</link><pubDate>Mon, 14 Mar 2011 00:39:39 GMT</pubDate><dc:creator>MarTin</dc:creator><category>WebGrid</category><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Actually you can delete those files (Japanase.xml, Korean.xml and List2.xml). The complete localization list should be wglang_ja-JP.xml for japanese.&lt;/p&gt;
&lt;p&gt;We have TextSettings property in WebGrid, which you can use to set the language manually or you can use custom mode to obtain the language from the xml file which is located in Localization folder.&lt;/p&gt;
&lt;p&gt;wglang_ja-JP is the default format of the localization file. It represents a single language that is available to be used in WebGrid.&lt;/p&gt;
&lt;p&gt;Therefore, it is not possible to manage various cultures in one single language file.You could only assign 1 culture in each file.&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;</description></item><item><title>WebGrid Localization questions</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-Localization-questions/</link><pubDate>Fri, 11 Mar 2011 17:18:12 GMT</pubDate><dc:creator>Gmontes</dc:creator><category>WebGrid</category><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;We're thinking of using our own language files for WebGrid localization purposes. Could you help me validate these changes I've done in my project?&lt;/p&gt;
&lt;p&gt;In the OnInitializeLayout event for those instances that require localization I've added:&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;webGrid.LayoutSettings.TextSettings.UseWebResources = false;
            webGrid.LayoutSettings.TextSettings.Language = LanguageMode.UseCulture;&lt;/pre&gt;
&lt;p&gt; And in my web.config file, inside appSettings...&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;&amp;lt;add key="ISNet.WebUI.WebGrid.v7_0_7200.LocalizationDirectory" value="~/GridLocalization/" /&amp;gt;&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;And finally... the instructions in the reference file said I needed to copy the whole CommonLibrary folder. I just took "Inside CommonLibrary\WebGrid\V7_0_7200\Localization" and renamed it to "GridLocalization" a folder inside our webapplication folder. That's all I should need from the CommonLibrary contents, right?&lt;/p&gt;
&lt;p&gt;Also, I see some files in the localization folder that I don't quite find an use for? Can I delete those?&lt;/p&gt;
&lt;p&gt;Inside CommonLibrary\WebGrid\V7_0_7200\Localization there's:&lt;/p&gt;
&lt;p&gt;Japanese.xml&lt;/p&gt;
&lt;p&gt;Korean.xml&lt;/p&gt;
&lt;p&gt;List2.xml&lt;/p&gt;
&lt;p&gt;What is the purpose of those files? I mean... we already have wglang_ja-JP.xml for japanese and wglang_ko-KR.xml for Korean.&lt;/p&gt;
&lt;p&gt;Also, is there a way to point various cultures to a single language file? We may not have differences between en-US and en-CA and en-GB...&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;</description></item></channel></rss>