<?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 Localizing a Qlik Sense extension in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Localizing-a-Qlik-Sense-extension/m-p/1580526#M10540</link>
    <description>&lt;P&gt;I'm developing a Qlik Sense extension, and I would like to support multiple languages so that the user can cose one from the extension's property panel.&lt;/P&gt;&lt;P&gt;I can do this easily for the text in the extension itself (just check the layout object to find the selected language and output the correct text in the html template)&lt;/P&gt;&lt;P&gt;However, I don't know how to do this for the properties panel of the extension. When you write an extension you must return the "definition" object (which defines the items in the properties panel) but that happens BEFORE the first call to paint() (odviously). So I have no idea how to provide translated labels for m custom properties in the properties panel, since I don't have access to the layout object ad this point.&lt;/P&gt;&lt;P&gt;Is there any way around this?&lt;/P&gt;</description>
    <pubDate>Wed, 15 May 2019 14:59:40 GMT</pubDate>
    <dc:creator>master_t</dc:creator>
    <dc:date>2019-05-15T14:59:40Z</dc:date>
    <item>
      <title>Localizing a Qlik Sense extension</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Localizing-a-Qlik-Sense-extension/m-p/1580526#M10540</link>
      <description>&lt;P&gt;I'm developing a Qlik Sense extension, and I would like to support multiple languages so that the user can cose one from the extension's property panel.&lt;/P&gt;&lt;P&gt;I can do this easily for the text in the extension itself (just check the layout object to find the selected language and output the correct text in the html template)&lt;/P&gt;&lt;P&gt;However, I don't know how to do this for the properties panel of the extension. When you write an extension you must return the "definition" object (which defines the items in the properties panel) but that happens BEFORE the first call to paint() (odviously). So I have no idea how to provide translated labels for m custom properties in the properties panel, since I don't have access to the layout object ad this point.&lt;/P&gt;&lt;P&gt;Is there any way around this?&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 14:59:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Localizing-a-Qlik-Sense-extension/m-p/1580526#M10540</guid>
      <dc:creator>master_t</dc:creator>
      <dc:date>2019-05-15T14:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Localizing a Qlik Sense extension</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Localizing-a-Qlik-Sense-extension/m-p/1580549#M10541</link>
      <description>i think you can do this,&lt;BR /&gt;Solution is use show property to hide show if your layout has a lang Prop so that u can switch/hide/change the test as per requirement</description>
      <pubDate>Wed, 15 May 2019 15:36:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Localizing-a-Qlik-Sense-extension/m-p/1580549#M10541</guid>
      <dc:creator>ajaykakkar93</dc:creator>
      <dc:date>2019-05-15T15:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Localizing a Qlik Sense extension</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Localizing-a-Qlik-Sense-extension/m-p/1580883#M10555</link>
      <description>&lt;P&gt;Thanks, you pointed me in the right direction.&lt;/P&gt;&lt;P&gt;However, instead of using "show", I directly assigned a function to the "label" attributes of each property. With that function I can return a string dynamically:&lt;/P&gt;&lt;P&gt;myProp: {&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;ref: config.myProp,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;type: string,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; label: function(layout) {return layout.config.language === 'EN' ? "something" : "something else";}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this seems to work well. Thanks again for giving me the idea, even tho I didn't use "show" in the end it pointed me in the right direction,&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 08:41:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Localizing-a-Qlik-Sense-extension/m-p/1580883#M10555</guid>
      <dc:creator>master_t</dc:creator>
      <dc:date>2019-05-16T08:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Localizing a Qlik Sense extension</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Localizing-a-Qlik-Sense-extension/m-p/1580932#M10556</link>
      <description>anytime..</description>
      <pubDate>Thu, 16 May 2019 09:58:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Localizing-a-Qlik-Sense-extension/m-p/1580932#M10556</guid>
      <dc:creator>ajaykakkar93</dc:creator>
      <dc:date>2019-05-16T09:58:21Z</dc:date>
    </item>
  </channel>
</rss>

