<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: adding i18 messages</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/adding-i18-messages</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/bugs/adding-i18-messages/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on adding i18 messages</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/adding-i18-messages#p26303</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/adding-i18-messages#p26303</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I find this fix usefull too.</p>
<p>Will be added. It is time to change the lang files. 🙂</p>
<p>Best Regards</p></p>
]]></description>
        	        	<pubDate>Thu, 05 Apr 2012 13:15:56 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on adding i18 messages</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/adding-i18-messages#p26254</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/adding-i18-messages#p26254</guid>
        	        	<description><![CDATA[<p>I personally find such change good. It remind me on my <a href="/blog/?page_id=393/feature-request/small-changes-in-i18ngrid-locale-xx-js-files-to-make-possible-dynamic-language-switching/#p22314" target="_blank">old suggestion</a>&#160;which is forgotten. I think that more support of multi-languge features would be really welcome by many developers which use jqGrid now. The best would be the solution which allows to create on one page two grids in different languages, but dynamical change the grid language based on the language preferences of the web browser could be helpful too.</p>
<p>Regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Thu, 29 Mar 2012 16:04:35 +0300</pubDate>
        </item>
        <item>
        	<title>Vlad on adding i18 messages</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/adding-i18-messages#p26148</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/adding-i18-messages#p26148</guid>
        	        	<description><![CDATA[</p>
<p>Hello.</p>
</p>
<p>I noticed that adding any locale file like grid.locale-en.js after jqGrid.js destroys jqgrid object. This is so, because the code in locale file is the following:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit9529' value='Select Code' data-codeid='sfcode9529' /></p>
<div class='sfcode' id='sfcode9529'>
<p>$.jgrid = {<br />&#160;&#160; &#160;defaults : {</p>
<p>...</p>
<p>}</p>
</div>
<p>It means that if we add locale file after our jqGrid.js - jqGrid object will have only locale information and we cannot use it anymore.</p>
</p>
<p>This could be very easily fixed by changing locale files to:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit9284' value='Select Code' data-codeid='sfcode9284' /></p>
<div class='sfcode' id='sfcode9284'>
<p>$.jgrid = $.jgrid &#124;&#124; {};<br />$.extend($.jgrid,{<br />&#160;&#160; &#160;defaults : {</p>
<p>...</p>
<p>});</p>
</div>
<p>Advantages:</p>
<p>1) now we can put those files in any order without having to care about that.</p>
<p>2) we can change the language on the fly, without need to refresh the page.</p>
</p>
<p>Thank you,</p>
<p>Vlad</p>
]]></description>
        	        	<pubDate>Thu, 15 Mar 2012 01:36:58 +0200</pubDate>
        </item>
</channel>
</rss>