<?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 Re: how to add i18n localization support for custom widget in ArcGIS Experience builder in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-add-i18n-localization-support-for-custom/m-p/1360772#M9898</link>
    <description>&lt;P&gt;I am able to use the code you referring the problem I have is widget label not changing according to locale I have attached a picture which shows the widget header which is not changing as locale changes to Arabic.&lt;/P&gt;</description>
    <pubDate>Thu, 14 Dec 2023 08:44:00 GMT</pubDate>
    <dc:creator>UbaidGul_opaz</dc:creator>
    <dc:date>2023-12-14T08:44:00Z</dc:date>
    <item>
      <title>how to add i18n localization support for custom widget in ArcGIS Experience builder</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-add-i18n-localization-support-for-custom/m-p/1357831#M9733</link>
      <description>&lt;P&gt;For a custom widget I want to show different labels and title of different layout items and widget label in different languages. I want my widget to be bilingual. I want all messages or labels to be shown according to the locale suppose locale is Arabic or English ar or en.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 06:19:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-add-i18n-localization-support-for-custom/m-p/1357831#M9733</guid>
      <dc:creator>UbaidGul_opaz</dc:creator>
      <dc:date>2023-12-07T06:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to add i18n localization support for custom widget in ArcGIS Experience builder</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-add-i18n-localization-support-for-custom/m-p/1357839#M9734</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/713604"&gt;@UbaidGul_opaz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Hope you find this document helpful&amp;nbsp;&lt;A href="https://developers.arcgis.com/experience-builder/guide/extend-base-widget/#i18n-support" target="_blank"&gt;https://developers.arcgis.com/experience-builder/guide/extend-base-widget/#i18n-support&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shengdi&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 06:55:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-add-i18n-localization-support-for-custom/m-p/1357839#M9734</guid>
      <dc:creator>ShengdiZhang</dc:creator>
      <dc:date>2023-12-07T06:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to add i18n localization support for custom widget in ArcGIS Experience builder</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-add-i18n-localization-support-for-custom/m-p/1357857#M9741</link>
      <description>&lt;P&gt;Thanks I already checked this documentation. What is not working with me is widget label is still in English and when you hover on the widget icon which inside widget controller its showing same English label also on the window of the widget.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 08:41:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-add-i18n-localization-support-for-custom/m-p/1357857#M9741</guid>
      <dc:creator>UbaidGul_opaz</dc:creator>
      <dc:date>2023-12-07T08:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to add i18n localization support for custom widget in ArcGIS Experience builder</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-add-i18n-localization-support-for-custom/m-p/1357862#M9742</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/713604"&gt;@UbaidGul_opaz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Firstly, all your custom widget labels should read from translations folder. For example like follows&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;this&lt;/SPAN&gt;&lt;SPAN&gt;.props.intl.formatMessage({&lt;/SPAN&gt;&lt;SPAN&gt;id&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;'str1'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;defaultMessage&lt;/SPAN&gt;&lt;SPAN&gt;: defaultMessages.str1})&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Secondly, you need to mention locale at the end of the url of your application. Then it will show you corresponding language labels.. You need to access your app something&amp;nbsp; like follows.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://localhost:3001/experience/1/?locale=zh-cn" target="_blank"&gt;https://localhost:3001/experience/1/?locale=ar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://localhost:3001/experience/1/?locale=zh-cn" target="_blank"&gt;https://localhost:3001/experience/1/?locale=zh-cn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ashok&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 09:42:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-add-i18n-localization-support-for-custom/m-p/1357862#M9742</guid>
      <dc:creator>Ashok</dc:creator>
      <dc:date>2023-12-07T09:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to add i18n localization support for custom widget in ArcGIS Experience builder</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-add-i18n-localization-support-for-custom/m-p/1360772#M9898</link>
      <description>&lt;P&gt;I am able to use the code you referring the problem I have is widget label not changing according to locale I have attached a picture which shows the widget header which is not changing as locale changes to Arabic.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 08:44:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-add-i18n-localization-support-for-custom/m-p/1360772#M9898</guid>
      <dc:creator>UbaidGul_opaz</dc:creator>
      <dc:date>2023-12-14T08:44:00Z</dc:date>
    </item>
  </channel>
</rss>

