<?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: Test language/locale change in app in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/test-language-locale-change-in-app/m-p/778549#M709</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes that's good enough for me - thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 30 Jun 2018 03:45:55 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2018-06-30T03:45:55Z</dc:date>
    <item>
      <title>Test language/locale change in app</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/test-language-locale-change-in-app/m-p/778547#M707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been looking at the Internationalization sample in AppStudio. I think I've figured out what to do and how the translation files work, and found the Qt Linguist menu items in Qt Creator for lupdate and lrelease etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once thing I can't figure out is whether it is possible to switch the actual locale that an app is using, whilst the app is running?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sample app demonstrates clicking different languages in a list and seeing some dates change to display in that locale. But the actual text of the app remains in English - i.e. the locale of my PC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE style="-qt-block-indent: 0; text-indent: 0px; margin: 0px;"&gt;&lt;SPAN style="font-style: italic; color: #4564d6;"&gt;qsTr&lt;/SPAN&gt;(&lt;SPAN style="color: #d69545;"&gt;"This&lt;/SPAN&gt;&lt;SPAN style="color: #bec0c2;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #d69545;"&gt;sample&lt;/SPAN&gt;&lt;SPAN style="color: #bec0c2;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #d69545;"&gt;demonstrates&lt;/SPAN&gt;&lt;SPAN style="color: #bec0c2;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #d69545;"&gt;internationalization&lt;/SPAN&gt;&lt;SPAN style="color: #bec0c2;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #d69545;"&gt;of&lt;/SPAN&gt;&lt;SPAN style="color: #bec0c2;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #d69545;"&gt;a&lt;/SPAN&gt;&lt;SPAN style="color: #bec0c2;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #d69545;"&gt;qml&lt;/SPAN&gt;&lt;SPAN style="color: #bec0c2;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #d69545;"&gt;app.&lt;/SPAN&gt;&lt;SPAN style="color: #bec0c2;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #d69545;"&gt;All&lt;/SPAN&gt;&lt;SPAN style="color: #bec0c2;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #d69545;"&gt;instructional&lt;/SPAN&gt;&lt;SPAN style="color: #bec0c2;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #d69545;"&gt;text&lt;/SPAN&gt;&lt;SPAN style="color: #bec0c2;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #d69545;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="color: #bec0c2;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #d69545;"&gt;retrieved&lt;/SPAN&gt;&lt;SPAN style="color: #bec0c2;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #d69545;"&gt;from&lt;/SPAN&gt;&lt;SPAN style="color: #bec0c2;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #d69545;"&gt;translations&lt;/SPAN&gt;&lt;SPAN style="color: #bec0c2;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #d69545;"&gt;files."&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there some way I can hook up buttons to switch the locale of the actual app, so I can see the effects of a different locale? My thinking is along the line of: the translation files come back from translators, and I might want to test/view what it would look like in each locale.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obviously I could switch the locale of my Windows OS or mobile device, but that seems a bit extreme! I remember accidentally switching a phone to another language once and it took me ages to figure out how to get it back into English!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2018 08:37:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/test-language-locale-change-in-app/m-p/778547#M707</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-06-29T08:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: Test language/locale change in app</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/test-language-locale-change-in-app/m-p/778548#M708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We do provide a way to run your app in different locales within the AppStudio Desktop (AppRun).You need to launch your AppStudio using the command line. For e.g. if I need to launch my AppStudio desktop in arabic. I could do that using the command line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;installed location&amp;gt;AppStudio.exe --locale ar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similarly, for German I would use&amp;nbsp;AppStudio.exe --locale de&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way you can view how your apps run in the different locales without changing the system locales. This is very effective especially for windows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/412807_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this is what you are looking for.&lt;/P&gt;&lt;P&gt;Nakul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2018 15:43:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/test-language-locale-change-in-app/m-p/778548#M708</guid>
      <dc:creator>nakulmanocha</dc:creator>
      <dc:date>2018-06-29T15:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Test language/locale change in app</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/test-language-locale-change-in-app/m-p/778549#M709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes that's good enough for me - thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Jun 2018 03:45:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/test-language-locale-change-in-app/m-p/778549#M709</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-06-30T03:45:55Z</dc:date>
    </item>
  </channel>
</rss>

