<?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: Multi Language Map Configuration in ArcGIS StoryMaps Questions</title>
    <link>https://community.esri.com/t5/arcgis-storymaps-questions/multi-language-map-configuration/m-p/1404809#M4623</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/21126"&gt;@AbbyE_Esri&lt;/a&gt;&amp;nbsp;thanks!! happy to provide any additional information you may need as you look into this.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Apr 2024 19:06:42 GMT</pubDate>
    <dc:creator>ArielLow2146</dc:creator>
    <dc:date>2024-04-02T19:06:42Z</dc:date>
    <item>
      <title>Multi Language Map Configuration</title>
      <link>https://community.esri.com/t5/arcgis-storymaps-questions/multi-language-map-configuration/m-p/1399305#M4594</link>
      <description>&lt;P&gt;I configured a map with pop-ups that use arcade to detect the locale and return results in either English or Spanish based on this blog&amp;nbsp;&lt;A href="https://www.esri.com/arcgis-blog/products/instant-apps/mapping/using-arcade-to-translate-pop-ups-for-use-in-the-arcgis-instant-apps/" target="_blank"&gt;https://www.esri.com/arcgis-blog/products/instant-apps/mapping/using-arcade-to-translate-pop-ups-for-use-in-the-arcgis-instant-apps/&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;I set the web map locale to Spanish to confirm that the arcade works at the web map level. My StoryMap language is set to Spanish but when I load the map in the StoryMap it returns the English pop-up.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does setting the StoryMap language not set the locale for the web map? Is there a way around this other than creating a second map?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 20:59:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-storymaps-questions/multi-language-map-configuration/m-p/1399305#M4594</guid>
      <dc:creator>ArielLow2146</dc:creator>
      <dc:date>2024-03-21T20:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Language Map Configuration</title>
      <link>https://community.esri.com/t5/arcgis-storymaps-questions/multi-language-map-configuration/m-p/1400484#M4598</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/594022"&gt;@ArielLow2146&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;The story may be reading your user's locale if it is set to English, if you are viewing this story while logged in. &lt;A href="https://doc.arcgis.com/en/arcgis-storymaps/reference/accessibility-and-supported-languages.htm" target="_self"&gt;This doc&lt;/A&gt; explains, "&lt;SPAN&gt;For signed-in users, the language is determined by the ArcGIS user profile language setting. For users who are not signed in, the language is determined by the browser's language setting."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Can you try changing your &lt;A href="https://doc.arcgis.com/en/arcgis-online/get-started/set-language-region.htm" target="_self"&gt;ArcGIS user profile language setting&lt;/A&gt; to Spanish? Here's another article explaining the language expectation:&amp;nbsp;&lt;A href="https://doc.arcgis.com/en/arcgis-storymaps/author-and-share/add-analytics-to-a-story.htm" target="_self"&gt;ArcGIS Storymaps - Configure story settings&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Let me know if setting your user profile changes that behavior for you.&lt;/P&gt;&lt;P&gt;--Abby&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 18:26:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-storymaps-questions/multi-language-map-configuration/m-p/1400484#M4598</guid>
      <dc:creator>AbbyE_Esri</dc:creator>
      <dc:date>2024-03-25T18:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Language Map Configuration</title>
      <link>https://community.esri.com/t5/arcgis-storymaps-questions/multi-language-map-configuration/m-p/1401522#M4605</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/21126"&gt;@AbbyE_Esri&lt;/a&gt;. I tried sharing the storymap publicly and setting my browser to spanish but the pop-up was still in english.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, with the story language set to spanish I would expect that the browser and profile language wouldn't matter if I'm viewing the storymap outside of the builder.&amp;nbsp;&lt;A href="https://doc.arcgis.com/en/arcgis-storymaps/author-and-share/add-analytics-to-a-story.htm" target="_blank"&gt;https://doc.arcgis.com/en/arcgis-storymaps/author-and-share/add-analytics-to-a-story.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 15:46:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-storymaps-questions/multi-language-map-configuration/m-p/1401522#M4605</guid>
      <dc:creator>ArielLow2146</dc:creator>
      <dc:date>2024-03-27T15:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Language Map Configuration</title>
      <link>https://community.esri.com/t5/arcgis-storymaps-questions/multi-language-map-configuration/m-p/1404586#M4617</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/594022"&gt;@ArielLow2146&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Apologies for the late response. I am also seeing this behavior where the maps within the story aren't using the story's set locale as it should be. I'll continue taking a look at this and see if it isn't something we can address in the product, as it is unexpected behavior.&lt;/P&gt;&lt;P&gt;--Abby&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 13:56:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-storymaps-questions/multi-language-map-configuration/m-p/1404586#M4617</guid>
      <dc:creator>AbbyE_Esri</dc:creator>
      <dc:date>2024-04-02T13:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Language Map Configuration</title>
      <link>https://community.esri.com/t5/arcgis-storymaps-questions/multi-language-map-configuration/m-p/1404809#M4623</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/21126"&gt;@AbbyE_Esri&lt;/a&gt;&amp;nbsp;thanks!! happy to provide any additional information you may need as you look into this.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 19:06:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-storymaps-questions/multi-language-map-configuration/m-p/1404809#M4623</guid>
      <dc:creator>ArielLow2146</dc:creator>
      <dc:date>2024-04-02T19:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Language Map Configuration</title>
      <link>https://community.esri.com/t5/arcgis-storymaps-questions/multi-language-map-configuration/m-p/1411736#M4654</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/594022"&gt;@ArielLow2146&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;We were able to discern the origin of the issue, and it's actually coming from the way the arcade expression is checking for the locale. The&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;if (locale == 'es')&lt;/STRONG&gt; is only successful if locale is set and the culture is&amp;nbsp;&lt;EM&gt;not&amp;nbsp;&lt;/EM&gt;set.&amp;nbsp;We &lt;EM&gt;do&lt;/EM&gt; set the culture for correctly formatting our widgets.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Instead, we can use an expression that is satisfied with just the locale setting:&lt;STRONG&gt;&amp;nbsp;Left(Lower(locale), 2) == 'es'&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Let me know if using a variation of this expression works for you:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var env = GetEnvironment(); 
var locale = env['locale'];
var popupText = $feature.Text_EN;
if (Left(Lower(locale), 2) == 'es') {
  popupText = $feature.Text_ES;
}

return { 
type : 'text', 
text : `Locale: ${locale}&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Translated Popup Text: ${popupText}`
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--Abby&lt;/DIV&gt;</description>
      <pubDate>Thu, 18 Apr 2024 15:59:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-storymaps-questions/multi-language-map-configuration/m-p/1411736#M4654</guid>
      <dc:creator>AbbyE_Esri</dc:creator>
      <dc:date>2024-04-18T15:59:00Z</dc:date>
    </item>
  </channel>
</rss>

