<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Multiple Languages in a form?</title><link>https://www.infopathdev.com:443/forums/thread/26188.aspx</link><pubDate>Mon, 04 Feb 2008 17:51:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26188</guid><dc:creator>davidair</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26188.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=26188</wfw:commentRss><description>&lt;p&gt;Yeah, so this is how you could do it:&lt;/p&gt;
&lt;p&gt;Your&amp;nbsp; form should only have field, not the language-specific strings. Then you introduce two secondary data source:&lt;/p&gt;
&lt;p&gt;The Text data source will just define your localization schema. For example, it can look like this:&lt;/p&gt;
&lt;p&gt;&amp;lt;localization&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;fieldPrompt&amp;gt;Default english text&amp;lt;/fieldPrompt&amp;gt;&lt;br /&gt;&amp;lt;/localization&amp;gt;&lt;br /&gt;&lt;br /&gt;You can then use textboxes or even better, expression boxes to display the prompts (make sure to use this trick so that the text shows in InfoPath Design mode as well: &lt;a href="http://www.infopathdev.com/blogs/david/archive/2007/07/16/Showing-default-values-from-Secondary-Data-Sources.aspx"&gt;http://www.infopathdev.com/blogs/david/archive/2007/07/16/Showing-default-values-from-Secondary-Data-Sources.aspx&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;Then you define another secondary data source with your translations:&lt;/p&gt;
&lt;p&gt;&amp;lt;languages&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;language id=&amp;quot;en-US&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fieldPrompt&amp;gt;Enter data&amp;lt;/fieldPrompt&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/language&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;language id=&amp;quot;fr-FR&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fieldPrompt&amp;gt;Entrez les données&amp;lt;/fieldPrompt&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/language&amp;gt;&lt;br /&gt;&amp;lt;/languages&amp;gt;&lt;/p&gt;
&lt;p&gt;Then in your code you will copy the language currently chosen into the Text data source and you&amp;#39;re done!&lt;/p&gt;
&lt;p&gt;I understand these steps could be a bit complicated but this gives you the most flexible translation scheme and it works pretty well in both IP2003 and IP2007.&lt;/p&gt;
&lt;p&gt;Good luck!&lt;/p&gt;</description></item><item><title>Re: Multiple Languages in a form?</title><link>https://www.infopathdev.com:443/forums/thread/26182.aspx</link><pubDate>Mon, 04 Feb 2008 14:55:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26182</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26182.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=26182</wfw:commentRss><description>&lt;p&gt;Hi Catherine.&lt;/p&gt;
&lt;p&gt;We have localization in several of our form solutions. I am not the expert or the one who coded it but I tell you what&amp;nbsp;I know.&lt;/p&gt;
&lt;p&gt;All of the form labels, titles, non-field text is kept in a seperate XML file. One for each language. Then as the language is changed this source XML file is switched. Then all text is displayed with expression boxes which reference this language text XML.&lt;/p&gt;
&lt;p&gt;Obviously it is complex to setup but it does work well once you have eveything.&lt;/p&gt;</description></item><item><title>Multiple Languages in a form?</title><link>https://www.infopathdev.com:443/forums/thread/26177.aspx</link><pubDate>Mon, 04 Feb 2008 13:58:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26177</guid><dc:creator>Catharine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26177.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=26177</wfw:commentRss><description>&lt;p&gt;What is the recommended way of coping with multiple languages in the same form ?&lt;/p&gt;
&lt;p&gt;I was thinking of having a Field with multiple attributes.&lt;/p&gt;
&lt;p&gt;Field&lt;br /&gt;&amp;nbsp;&amp;nbsp; FieldText&lt;br /&gt;&amp;nbsp;&amp;nbsp; FieldTextENG&lt;br /&gt;&amp;nbsp;&amp;nbsp; FieldTextDUT&lt;br /&gt;&amp;nbsp;&amp;nbsp; FieldTextGER&lt;/p&gt;
&lt;p&gt;On load of the form I would update the value of FieldText with the appropriate language for the user&amp;nbsp; eg if they were German I would set the value of FieldText to the value of FieldTextGER.... And display Field Text as the Prompt for Field.&lt;/p&gt;
&lt;p&gt;Does that sound feasible ?&amp;nbsp; What other methods have people used ? What are the pitfalls ?&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;
&lt;p&gt;Catharine&lt;/p&gt;</description></item></channel></rss>