<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Bilingual form</title><link>https://www.infopathdev.com:443/forums/thread/70164.aspx</link><pubDate>Thu, 08 Sep 2011 21:02:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70164</guid><dc:creator>Tom Bollah</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70164.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70164</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hallo Karsten and Jimmy&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks for your answers.&lt;/p&gt;&lt;p&gt;At this moment I have a lot of work but as soon I have a moment, I try your solutions&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Tom &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Bilingual form</title><link>https://www.infopathdev.com:443/forums/thread/70013.aspx</link><pubDate>Mon, 05 Sep 2011 11:22:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70013</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70013.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70013</wfw:commentRss><description>&lt;p&gt;Matt Faus has a blog post on how to accomplish this using one view, and I suggest going that route as trying to maintain two views that are the same except for the language can get a bit hairy.&lt;br /&gt;&lt;a href="http://www.infopathdev.com/blogs/matt/archive/2006/02/02/Add-Language-Localization-to-a-Form.aspx"&gt;http://www.infopathdev.com/blogs/matt/archive/2006/02/02/Add-Language-Localization-to-a-Form.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;As far as I know, there isn&amp;#39;t a codeless way to get the local language, and I think Karsten&amp;#39;s approach would be the way to go about that, if you&amp;#39;re willing to use code.&lt;/p&gt;</description></item><item><title>Re: Bilingual form</title><link>https://www.infopathdev.com:443/forums/thread/70011.aspx</link><pubDate>Mon, 05 Sep 2011 08:49:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70011</guid><dc:creator>Karsten Brocksieper</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70011.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70011</wfw:commentRss><description>&lt;p&gt;Hello Tom,&lt;/p&gt;&lt;p&gt;in my personal opinion I would use views which are in different languages. Then you can detect the language in the &amp;quot;FormEvent_Loading&amp;quot; event. To detect the language you can use the &amp;#39;CultureInfo&amp;#39; class which is in the System.Globalization namespace.&lt;/p&gt;&lt;p&gt;So you have to add in your using block:&lt;/p&gt;&lt;p&gt;&lt;font face="courier new,courier"&gt;using System.Globalization;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;... and in the &amp;quot;FormEvents_Loading&amp;quot; you can detect the language in the following way:&lt;/p&gt;&lt;p&gt;&lt;font face="courier new,courier"&gt;CultureInfo ci = CultureInfo.InstalledUICulture ;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="courier new,courier"&gt;XPathNavigator nav = MainDataSource.CreateNavigator();&lt;br /&gt;nav.SelectSingleNode(&amp;quot;/my:myFields/my:field1&amp;quot;, NamespaceManager).SetValue(ci.Name);&lt;/font&gt;&lt;/p&gt;&lt;p&gt;Depending on the system (english, french)&amp;nbsp;the result in &amp;#39;field1&amp;#39; is&amp;nbsp;&amp;quot;en-en&amp;quot; or &amp;quot;fr-fr&amp;quot; (culture info). Then you can switch the views depending on the value.&lt;/p&gt;&lt;p&gt;Hope that helps,&lt;/p&gt;</description></item><item><title>Bilingual form</title><link>https://www.infopathdev.com:443/forums/thread/70004.aspx</link><pubDate>Sat, 03 Sep 2011 08:47:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70004</guid><dc:creator>Tom Bollah</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70004.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70004</wfw:commentRss><description>&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;span class="hps"&gt;&lt;span style="mso-ansi-language:EN;"&gt;Hello&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN;"&gt; the &lt;span class="hps"&gt;forum,&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="hps"&gt;Recipients&lt;/span&gt; &lt;span class="hps"&gt;of&lt;/span&gt; &lt;span class="hps"&gt;an&lt;/span&gt;
&lt;span class="hps"&gt;InfoPath form&lt;/span&gt; &lt;span class="hps"&gt;based on the&lt;/span&gt; &lt;span class="hps"&gt;template&lt;/span&gt; &lt;span class="hps"&gt;&amp;quot;&lt;/span&gt;Mail &lt;span class="hps"&gt;Item&lt;/span&gt;&amp;quot;
are either &lt;span class="hps"&gt;French&lt;/span&gt; &lt;span class="hps"&gt;or&lt;/span&gt; &lt;span class="hps"&gt;English speaking.&lt;/span&gt;.&lt;br /&gt;
&lt;span class="hps"&gt;Is it&lt;/span&gt; &lt;span class="hps"&gt;possible to design&lt;/span&gt; &lt;span class="hps"&gt;a form&lt;/span&gt; &lt;span class="hps"&gt;so that recipients&lt;/span&gt; &lt;span class="hps"&gt;receive it&lt;/span&gt; &lt;span class="hps"&gt;in their own language (and how can Infopath
&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;detect &lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;the language) or&lt;/span&gt; &lt;span class="hps"&gt;do I
have to create&lt;/span&gt; &lt;span class="hps"&gt;two&lt;/span&gt; &lt;span class="hps"&gt;separate forms&lt;/span&gt;?&lt;br /&gt;
&lt;span class="hps"&gt;In advance thank you&lt;/span&gt; &lt;span class="hps"&gt;for your answers&lt;/span&gt;&lt;br /&gt;
&lt;span class="hps"&gt;Tom&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>