<?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: Localization of measurement tool and Draw in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/localization-of-measurement-tool-and-draw/m-p/129817#M12042</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;update:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i actually use console.log(bundle) and it is set before the new Draw. I am kind of confused...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P.S. same thing was happening to the measurement, i had dojo.require(esri.measrurement) and an amd require that's probably the issue since when i removed the dojo.require the measurement started working. But i am using amd way for Draw but it still wont work&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Apr 2014 07:52:11 GMT</pubDate>
    <dc:creator>MatejSkerjanc</dc:creator>
    <dc:date>2014-04-18T07:52:11Z</dc:date>
    <item>
      <title>Localization of measurement tool and Draw</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/localization-of-measurement-tool-and-draw/m-p/129816#M12041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm localizing the two tools and when i debug and go into esri code i can see clearly the bundle in measurement tool accepted these new strings (yes both the measurement and the draw are localized), but when i run new Draw() and go into the code the bundle is not localized. Are they using two different bundles?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;example of string setup&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; require(["dojo/i18n!esri/nls/jsapi",&amp;nbsp; "esri/dijit/Measurement"],&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; function (bundle, Measurement)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bundle.widgets.measurement.NLS_area = i18n.tools.gdiMeasureWidget_config.NLS.area;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bundle.toolbars.draw.addPoint = i18n.tools.gdiInsertFeatWidget_config.draw.addPointCursorText;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bundle.toolbars.draw.start = i18n.tools.gdiInsertFeatWidget_config.draw.start;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bundle.toolbars.draw.resume = i18n.tools.gdiInsertFeatWidget_config.draw.resume;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bundle.toolbars.draw.start = i18n.tools.gdiInsertFeatWidget_config.draw.start;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bundle.toolbars.draw.complete = i18n.tools.gdiInsertFeatWidget_config.draw.complete;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Matej&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 07:19:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/localization-of-measurement-tool-and-draw/m-p/129816#M12041</guid>
      <dc:creator>MatejSkerjanc</dc:creator>
      <dc:date>2014-04-18T07:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Localization of measurement tool and Draw</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/localization-of-measurement-tool-and-draw/m-p/129817#M12042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;update:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i actually use console.log(bundle) and it is set before the new Draw. I am kind of confused...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P.S. same thing was happening to the measurement, i had dojo.require(esri.measrurement) and an amd require that's probably the issue since when i removed the dojo.require the measurement started working. But i am using amd way for Draw but it still wont work&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 07:52:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/localization-of-measurement-tool-and-draw/m-p/129817#M12042</guid>
      <dc:creator>MatejSkerjanc</dc:creator>
      <dc:date>2014-04-18T07:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Localization of measurement tool and Draw</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/localization-of-measurement-tool-and-draw/m-p/129818#M12043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;another update:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;IMG src="http://i57.tinypic.com/e1f243.png" /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;tried to localize the identity manager login screen, the bundle is updated, yet the login screen remains the same as seen on the picture above&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 10:11:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/localization-of-measurement-tool-and-draw/m-p/129818#M12043</guid>
      <dc:creator>MatejSkerjanc</dc:creator>
      <dc:date>2014-04-18T10:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Localization of measurement tool and Draw</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/localization-of-measurement-tool-and-draw/m-p/129819#M12044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does any of the information in this &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/105849-Is-it-possible-to-override-default-tooltips?highlight=dojo%2Fi18n!esri%2F"&gt;thread&lt;/A&gt;&lt;SPAN&gt; help?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 13:30:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/localization-of-measurement-tool-and-draw/m-p/129819#M12044</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2014-04-18T13:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Localization of measurement tool and Draw</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/localization-of-measurement-tool-and-draw/m-p/129820#M12045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If i'm not mistaken then no this won't help me. Since i am using the bundle to change the text but the text is only changed for the measure widget. And i even tried setting the bundle strings at the&amp;nbsp; very begining ofthe application code. I'm uncertain what messes it up. Thank you Ken nontheless!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2014 07:34:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/localization-of-measurement-tool-and-draw/m-p/129820#M12045</guid>
      <dc:creator>MatejSkerjanc</dc:creator>
      <dc:date>2014-04-21T07:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Localization of measurement tool and Draw</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/localization-of-measurement-tool-and-draw/m-p/129821#M12046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;this might help someone:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if you set locale in djConfig the api disregards any direct string setups, since the widgets obviously read straight from the template.js in NLS folders (in case you set the locale as mentioned). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But the question is whats string to set for toolbar.draw for instance...its not really defined in the documents&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Matej&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 08:49:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/localization-of-measurement-tool-and-draw/m-p/129821#M12046</guid>
      <dc:creator>MatejSkerjanc</dc:creator>
      <dc:date>2014-04-22T08:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Localization of measurement tool and Draw</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/localization-of-measurement-tool-and-draw/m-p/129822#M12047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can use the debugging tools to see what the values for everything in the bundle is. In Chrome, I used the Create a Map &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/jssamples/map_simple.html"&gt;sample&lt;/A&gt;&lt;SPAN&gt;, added in the resource bundle, and put in a breakpoint to examine the the bundle. This shows the available values for the draw tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]33244[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 12:42:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/localization-of-measurement-tool-and-draw/m-p/129822#M12047</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2014-04-22T12:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: Localization of measurement tool and Draw</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/localization-of-measurement-tool-and-draw/m-p/129823#M12048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you mr. Ken,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've debugged it long and thoroughly, as much as a "minified" esri api allows it. I found the reason why my bundle settings arent being accepted (mind the measure tool). I chose the wrong language identifier when forcing the locale with dojoConfig. It seems to have confused the api somehow. I used 'sl-SL' language identifier instead of what navigator.language told me ('sl'). When i used the 'sl' the bundle settings worked flawlessly. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am still somewhat confused on how the NLS directory kicks in, can't i just input 'toolbars: { addPoint: 'text' }' to change the Draw text? I tried and it didn't work, i had to manually write the &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bundle.toolbars.draw.addPoint = i18n.toolbars.draw;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;whereas i thought the localized NLS file should take of this automatically. Was I wrong to begin with?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 04:39:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/localization-of-measurement-tool-and-draw/m-p/129823#M12048</guid>
      <dc:creator>MatejSkerjanc</dc:creator>
      <dc:date>2014-04-23T04:39:07Z</dc:date>
    </item>
  </channel>
</rss>

