<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Translation with FieldValue, FieldIndex fails for duplicate strings in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Translation-with-FieldValue-FieldIndex-fails-for-duplicate/m-p/735056#M1077979</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm doing a translation using the technique applied in the infamous "Financial Controlling" demo application. This is also described here: &lt;A href="http://www.citagus.com/citagus/blog/language-translator-multi-linugal-in-qlikview/" title="http://www.citagus.com/citagus/blog/language-translator-multi-linugal-in-qlikview/"&gt;http://www.citagus.com/citagus/blog/language-translator-multi-linugal-in-qlikview/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, this technique fails as soon as there is a duplicate entry for any of the translations, as in my example app:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Translation2:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Key, DE, EN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hallo, Hallo, Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; World, Welt, World&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Quick, Schnell, Quick&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fast, Schnell, Fast&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Foo, Bar, Baz&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The words &lt;EM&gt;fast&lt;/EM&gt; an &lt;EM&gt;quick&lt;/EM&gt; are the same in German language (yes, you could argue that I should use synonyms, there are some, but thats not the point).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This leads to Qlikview storing "Schnell" only once and hence the FieldValue('DE', 3) evaluates to "Schnell" (correct), and FieldValue('DE', 4) to "Bar" (technically correct) while FieldValue('EN',4) evaluates to "Fast".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anything I can do about? Except for using the long-table style translation technique with a &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Key, Locale, String&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table and the =Only({Key=Foo} String) Expression and an association between the&amp;nbsp; translation a language selection table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I make Qlikview Store duplicate field entries twice or more?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jul 2014 17:04:09 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-07-23T17:04:09Z</dc:date>
    <item>
      <title>Translation with FieldValue, FieldIndex fails for duplicate strings</title>
      <link>https://community.qlik.com/t5/QlikView/Translation-with-FieldValue-FieldIndex-fails-for-duplicate/m-p/735056#M1077979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm doing a translation using the technique applied in the infamous "Financial Controlling" demo application. This is also described here: &lt;A href="http://www.citagus.com/citagus/blog/language-translator-multi-linugal-in-qlikview/" title="http://www.citagus.com/citagus/blog/language-translator-multi-linugal-in-qlikview/"&gt;http://www.citagus.com/citagus/blog/language-translator-multi-linugal-in-qlikview/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, this technique fails as soon as there is a duplicate entry for any of the translations, as in my example app:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Translation2:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Key, DE, EN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hallo, Hallo, Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; World, Welt, World&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Quick, Schnell, Quick&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fast, Schnell, Fast&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Foo, Bar, Baz&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The words &lt;EM&gt;fast&lt;/EM&gt; an &lt;EM&gt;quick&lt;/EM&gt; are the same in German language (yes, you could argue that I should use synonyms, there are some, but thats not the point).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This leads to Qlikview storing "Schnell" only once and hence the FieldValue('DE', 3) evaluates to "Schnell" (correct), and FieldValue('DE', 4) to "Bar" (technically correct) while FieldValue('EN',4) evaluates to "Fast".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anything I can do about? Except for using the long-table style translation technique with a &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Key, Locale, String&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table and the =Only({Key=Foo} String) Expression and an association between the&amp;nbsp; translation a language selection table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I make Qlikview Store duplicate field entries twice or more?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 17:04:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Translation-with-FieldValue-FieldIndex-fails-for-duplicate/m-p/735056#M1077979</guid>
      <dc:creator />
      <dc:date>2014-07-23T17:04:09Z</dc:date>
    </item>
  </channel>
</rss>

