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?
example of string setup
require(["dojo/i18n!esri/nls/jsapi", "esri/dijit/Measurement"],
function (bundle, Measurement)
{
bundle.widgets.measurement.NLS_area = i18n.tools.gdiMeasureWidget_config.NLS.area;
bundle.toolbars.draw.addPoint = i18n.tools.gdiInsertFeatWidget_config.draw.addPointCursorText;
bundle.toolbars.draw.start = i18n.tools.gdiInsertFeatWidget_config.draw.start;
bundle.toolbars.draw.resume = i18n.tools.gdiInsertFeatWidget_config.draw.resume;
bundle.toolbars.draw.start = i18n.tools.gdiInsertFeatWidget_config.draw.start;
bundle.toolbars.draw.complete = i18n.tools.gdiInsertFeatWidget_config.draw.complete;
.....
Regards,
Matej