<?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: locale URL parameter  in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/locale-url-parameter/m-p/393507#M10451</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Benedek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I have never been able to get WAB to display in a different language. There is a gentleman in esri France that helped me add the "fr" locale to the widget and he has the widget working in french. It must be more of an OS thing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Nov 2015 14:31:16 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2015-11-12T14:31:16Z</dc:date>
    <item>
      <title>locale URL parameter</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/locale-url-parameter/m-p/393506#M10450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tested to add a URL parameter(?locale=FR-fr) to my applications endpoint, but the application kept using the same (default) english labels. In this Guide (&lt;A href="https://developers.arcgis.com/web-appbuilder/guide/add-i18n-support.htm" title="https://developers.arcgis.com/web-appbuilder/guide/add-i18n-support.htm"&gt;Add i18n support—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers&lt;/A&gt;&lt;SPAN&gt; ) it says that after using e.g. &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Flocalhost%2Ftest%2F%3Flocale%3DFR-fr" rel="nofollow" target="_blank"&gt;http://localhost/test/?locale=FR-fr&lt;/A&gt;&lt;SPAN&gt;, and a certain widget has &lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;"fr": 1, in strings.js&lt;/LI&gt;&lt;LI&gt;and fr folder in the same directory, and within that another strings.js file with the translated strings&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;it will show up in that language.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tested with the eSearch widget, but had no success so far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other place where I should set something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 13:17:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/locale-url-parameter/m-p/393506#M10450</guid>
      <dc:creator>BenedekSimó</dc:creator>
      <dc:date>2015-11-12T13:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: locale URL parameter</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/locale-url-parameter/m-p/393507#M10451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Benedek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I have never been able to get WAB to display in a different language. There is a gentleman in esri France that helped me add the "fr" locale to the widget and he has the widget working in french. It must be more of an OS thing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 14:31:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/locale-url-parameter/m-p/393507#M10451</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-11-12T14:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: locale URL parameter</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/locale-url-parameter/m-p/393508#M10452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response, Robert!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just would like that my app would be bilingual after deployment, not the WAB itself...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For every widget ESRI provides, there's an nls directory with quite a few languages. So what is the correct way to check out the deployed webapp e.g. in german? URL langcode doesn't seems to work...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 15:15:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/locale-url-parameter/m-p/393508#M10452</guid>
      <dc:creator>BenedekSimó</dc:creator>
      <dc:date>2015-11-12T15:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: locale URL parameter</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/locale-url-parameter/m-p/393509#M10453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Benedek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; This is not an area I am experienced in. But as I mentioned&amp;nbsp; I have contacts in esri France and esri Spain that have WAB working in their local languages. So all you need to do as a developer is to provide the nls strings.js file for the language you are trying to support in your custom widget development and when your app is deployed to that locale those string will show.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 15:23:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/locale-url-parameter/m-p/393509#M10453</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-11-12T15:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: locale URL parameter</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/locale-url-parameter/m-p/393510#M10454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this can help? &lt;A href="https://community.esri.com/thread/157903"&gt;how can I control which language the WebApp will be?&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 15:26:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/locale-url-parameter/m-p/393510#M10454</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2015-11-12T15:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: locale URL parameter</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/locale-url-parameter/m-p/393511#M10455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Tim and Robert!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on Tim's link I have figured that all I need to do is to set dojoConfig.locale parameter to whatever language I want, and then it is all good! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So for having the option to set the locale from URL parameter, it seems that I have to implement a function in init.js that gets the language code from the URL query string, and sets the dojoConfig.locale value based on this!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure though why is this line in the documentation....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; font-family: 'Avenir Next W01', 'Avenir Next W00', 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 17px;"&gt;"Reload your application. This time, add a URL parameter, locale=zh-cn, or you change the browser's locale configuration to view the change." (&lt;A href="https://developers.arcgis.com/web-appbuilder/guide/add-i18n-support.htm" title="https://developers.arcgis.com/web-appbuilder/guide/add-i18n-support.htm"&gt;Add i18n support—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers&lt;/A&gt; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; font-family: 'Avenir Next W01', 'Avenir Next W00', 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 17px;"&gt;But thank you for your help anyways!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2015 10:16:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/locale-url-parameter/m-p/393511#M10455</guid>
      <dc:creator>BenedekSimó</dc:creator>
      <dc:date>2015-11-13T10:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: locale URL parameter</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/locale-url-parameter/m-p/393512#M10456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Benedek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; It looks like they have fixed this for the new 1.3 release coming for AGOL this month and WAB Dev in December.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2015 13:00:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/locale-url-parameter/m-p/393512#M10456</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-11-13T13:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: locale URL parameter</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/locale-url-parameter/m-p/393513#M10457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Robert, I appreciate your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2015 13:57:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/locale-url-parameter/m-p/393513#M10457</guid>
      <dc:creator>BenedekSimó</dc:creator>
      <dc:date>2015-11-13T13:57:53Z</dc:date>
    </item>
  </channel>
</rss>

