<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/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>Add Language Localization to a Form</title><link>https://www.infopathdev.com:443/blogs/matt/archive/2006/02/02/Add-Language-Localization-to-a-Form.aspx</link><description>When a form is used in several different countries the need for easy language localization becomes a very necessary goal. By leveraging expression boxes, a secondary data source, and data filtering techniques the ability to easily switch between languages</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Office 365 #SharePoint multi language custom form | Valy Greavu&amp;#039;s Live Blog</title><link>https://www.infopathdev.com:443/blogs/matt/archive/2006/02/02/Add-Language-Localization-to-a-Form.aspx#103447</link><pubDate>Tue, 28 Jul 2015 21:41:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103447</guid><dc:creator>Office 365 #SharePoint multi language custom form | Valy Greavu's Live Blog</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Office 365 #SharePoint multi language custom form | Valy Greavu&amp;amp;#039;s Live Blog&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=103447" width="1" height="1"&gt;</description></item><item><title>Localizing a SharePoint 2010 List Form with InfoPath | SharePoint Cipher</title><link>https://www.infopathdev.com:443/blogs/matt/archive/2006/02/02/Add-Language-Localization-to-a-Form.aspx#81976</link><pubDate>Fri, 24 Aug 2012 19:25:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81976</guid><dc:creator>Localizing a SharePoint 2010 List Form with InfoPath | SharePoint Cipher</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Localizing a SharePoint 2010 List Form with InfoPath | SharePoint Cipher&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=81976" width="1" height="1"&gt;</description></item><item><title>Add Language Localization to a Form | Software Design</title><link>https://www.infopathdev.com:443/blogs/matt/archive/2006/02/02/Add-Language-Localization-to-a-Form.aspx#74399</link><pubDate>Mon, 23 Jan 2012 16:59:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74399</guid><dc:creator>Add Language Localization to a Form | Software Design</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Add Language Localization to a Form | Software Design&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=74399" width="1" height="1"&gt;</description></item><item><title>re: Add Language Localization to a Form</title><link>https://www.infopathdev.com:443/blogs/matt/archive/2006/02/02/Add-Language-Localization-to-a-Form.aspx#64387</link><pubDate>Mon, 21 Feb 2011 16:46:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64387</guid><dc:creator>nenemourinho</dc:creator><description>&lt;p&gt;Dear Matt,&lt;/p&gt;
&lt;p&gt;Using this method in InfoPath 2010 (Administrator -approved form Template) with MOSS 2010 I have a problem...&lt;/p&gt;
&lt;p&gt;When I try to upload my template.xsn in the SharePoint Central Administration I have the following error : &lt;/p&gt;
&lt;p&gt;Object reference not set to an instance of an object. &lt;/p&gt;
&lt;p&gt;ConstructFromXsnFile failed with unhandled exception System.NullReferenceException: Object reference not set to an instance of an object. &amp;nbsp; &amp;nbsp; at Microsoft.Office.InfoPath.Server.SolutionLifetime.Filters.&amp;lt;&amp;gt;c__DisplayClass2.&amp;lt;CreateDependentNodeList&amp;gt;b__0(BaseControl match) &amp;nbsp; &amp;nbsp; at System.Collections.Generic.List`1.Find(Predicate`1 match) &amp;nbsp; &amp;nbsp; at Microsoft.Office.InfoPath.Server.SolutionLifetime.Filters.CreateDependentNodeList.........&lt;/p&gt;
&lt;p&gt;If I delete the calculated values the upload is ok.&lt;/p&gt;
&lt;p&gt;Have you already try this method with 2010 environment ?&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=64387" width="1" height="1"&gt;</description></item><item><title>Reference URL | Abhi&amp;#039;s Blog</title><link>https://www.infopathdev.com:443/blogs/matt/archive/2006/02/02/Add-Language-Localization-to-a-Form.aspx#63963</link><pubDate>Tue, 08 Feb 2011 09:48:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63963</guid><dc:creator>Reference URL | Abhi's Blog</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Reference URL | Abhi&amp;amp;#039;s Blog&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=63963" width="1" height="1"&gt;</description></item><item><title>Multilanguage InfoPath Forms | Catalin Soca Blog</title><link>https://www.infopathdev.com:443/blogs/matt/archive/2006/02/02/Add-Language-Localization-to-a-Form.aspx#63334</link><pubDate>Wed, 19 Jan 2011 09:19:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63334</guid><dc:creator>Multilanguage InfoPath Forms | Catalin Soca Blog</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Multilanguage InfoPath Forms | Catalin Soca Blog&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=63334" width="1" height="1"&gt;</description></item><item><title>re: Add Language Localization to a Form</title><link>https://www.infopathdev.com:443/blogs/matt/archive/2006/02/02/Add-Language-Localization-to-a-Form.aspx#60913</link><pubDate>Sat, 30 Oct 2010 05:30:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60913</guid><dc:creator>rahulbabar</dc:creator><description>&lt;p&gt;Very nice article! Can we get language in code behind rather user select it from the drop down menu?&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=60913" width="1" height="1"&gt;</description></item><item><title>re: Add Language Localization to a Form</title><link>https://www.infopathdev.com:443/blogs/matt/archive/2006/02/02/Add-Language-Localization-to-a-Form.aspx#52609</link><pubDate>Wed, 10 Mar 2010 18:05:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52609</guid><dc:creator>pnewhook</dc:creator><description>&lt;p&gt;Great article. I hope 2010 features more built in internationalization features.&lt;/p&gt;
&lt;p&gt;As a time saver, instead of clicking throuh the dialogs in the &amp;quot;Add the expression boxes with data filtering&amp;quot; section, do it once then copy the xPath that's generated. You then only need to edit the Name parameter.&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=52609" width="1" height="1"&gt;</description></item><item><title>Multi-national(langage) support? | keyongtech</title><link>https://www.infopathdev.com:443/blogs/matt/archive/2006/02/02/Add-Language-Localization-to-a-Form.aspx#37499</link><pubDate>Thu, 22 Jan 2009 02:36:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37499</guid><dc:creator>Multi-national(langage) support? | keyongtech</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Multi-national(langage) support? | keyongtech&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=37499" width="1" height="1"&gt;</description></item><item><title>Screen Tip translation in IFS | keyongtech</title><link>https://www.infopathdev.com:443/blogs/matt/archive/2006/02/02/Add-Language-Localization-to-a-Form.aspx#37295</link><pubDate>Sun, 18 Jan 2009 16:58:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37295</guid><dc:creator>Screen Tip translation in IFS | keyongtech</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Screen Tip translation in IFS | keyongtech&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=37295" width="1" height="1"&gt;</description></item><item><title>re: Add Language Localization to a Form</title><link>https://www.infopathdev.com:443/blogs/matt/archive/2006/02/02/Add-Language-Localization-to-a-Form.aspx#32953</link><pubDate>Thu, 09 Oct 2008 08:57:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32953</guid><dc:creator>jbaekken</dc:creator><description>&lt;p&gt;Got the same problem as pnewhook with filters on dropdown boxes on browser-enabled forms. Did you find a way to solve this, engy?&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=32953" width="1" height="1"&gt;</description></item><item><title>re: Add Language Localization to a Form</title><link>https://www.infopathdev.com:443/blogs/matt/archive/2006/02/02/Add-Language-Localization-to-a-Form.aspx#31927</link><pubDate>Wed, 03 Sep 2008 16:24:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31927</guid><dc:creator>pnewhook</dc:creator><description>&lt;p&gt;I've got the problem engy mentioned above. I can't get localized dropdown boxes because filters are not supported in brower enabled forms. Does anyone know of a work around for this?&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=31927" width="1" height="1"&gt;</description></item><item><title>dropdownlist blank first row</title><link>https://www.infopathdev.com:443/blogs/matt/archive/2006/02/02/Add-Language-Localization-to-a-Form.aspx#28755</link><pubDate>Thu, 15 May 2008 23:16:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28755</guid><dc:creator>dropdownlist blank first row</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;dropdownlist blank first row&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=28755" width="1" height="1"&gt;</description></item><item><title>Localization in InfoPath form</title><link>https://www.infopathdev.com:443/blogs/matt/archive/2006/02/02/Add-Language-Localization-to-a-Form.aspx#28506</link><pubDate>Mon, 05 May 2008 19:33:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28506</guid><dc:creator>SaurabhKV</dc:creator><description>&lt;p&gt;A very good link to implement localization in an InfoPath form.&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=28506" width="1" height="1"&gt;</description></item><item><title>re: Add Language Localization to a Form</title><link>https://www.infopathdev.com:443/blogs/matt/archive/2006/02/02/Add-Language-Localization-to-a-Form.aspx#25625</link><pubDate>Mon, 14 Jan 2008 12:32:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25625</guid><dc:creator>Hans Andringa</dc:creator><description>&lt;p&gt;Happydigit,&lt;/p&gt;
&lt;p&gt;I have also encountered the exact same problems as you have mentioned. I got a good solution/workaround for both problems.&lt;/p&gt;
&lt;p&gt;For the first problem about working with large number of controls the solution is easy. The performance problem is caused by your browser rendering all the controls in JavaScript. The XPath query for each label is under water being translated into very large functions and arrays:&lt;/p&gt;
&lt;p&gt;function _d(objContext,enumMode){&lt;/p&gt;
&lt;p&gt; return &lt;/p&gt;
&lt;p&gt;Expr.xpath_And(Expr.xpath_Eq(Expr.vpath_Select(objContext,[[[1,-1],[1,-1],[1,-1],[0,38]]]),&amp;quot;Title&amp;quot;),Expr.xpath_Eq(Expr.vpath_Select(objContext,[[[1,-1],[0,39]]]),Expr.vpath_Select(objContext,[[[1,-1],[1,-1],[1,-1],[1,-1],[1,-1],[0,16]]])))&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;When you change your language in the Drop-Down List Box, all the functions are being called in JavaScript and all the controls are being updated with XPath. If you have more than 10 controls, this will be very very slow.&lt;/p&gt;
&lt;p&gt;The solution is easy. Just let the server change all the controls instead of the browser. So change your Drop-Down List Box to &amp;quot;Always&amp;quot; Postback. You can find this by double-clicking on the control and by going to the &amp;quot;Browser forms&amp;quot; tab in InfoPath 2007. I am not sure what your server load will do when multiple users are changing their language at the same time, but I assume this won't be a problem. Another good tip for boosting your performance, is to use multiple views.&lt;/p&gt;
&lt;p&gt;For the second problem it's rather a workaround then a solution, because there is a bug in the Design Checker. When you update the XPath query in your control, the Design Checker doesn't sees that you have a WHERE clause in your query. It just thinks that you have selected a value from a Repeating Group (which is actually the case). You just cannot make an update to your control. The workaround I have found is when you want to change the XPath query, just remove the old control and add a new one. Then copy-paste the right XPath Query into it:&lt;/p&gt;
&lt;p&gt;xdXDocument:GetDOM(&amp;quot;Language Settings&amp;quot;)/LocalSettings/Labels/Label/LocalLabel/@Value[../../@Name = &amp;quot;Title&amp;quot; and ../@Code = xdXDocument:get-DOM()/my:DTAControls/my:Global/my:Language]&lt;/p&gt;
&lt;p&gt;Or you can just save and publish your InfoPath template and ignore the errors :p&lt;/p&gt;
&lt;p&gt;Great topic btw!!&lt;/p&gt;
&lt;p&gt;Greetings,&lt;/p&gt;
&lt;p&gt;Hans&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=25625" width="1" height="1"&gt;</description></item></channel></rss>