Joel,
Sure you just need to set the default string for your locale:
var map; require(["esri/map", "dojo/i18n!esri/nls/jsapi", "dojo/domReady!"], function(Map, bundle) { bundle.widgets.popup.NLS_zoomTo = "blah blah"; } );
how can i archive it in legacy style?
Joel,
I never use Legacy coding style so I am not 100% but I think it is:
dojo.require("esri.bundle");
FWI: you really need to more your code to AMD as Legacy is no longer supported in JS 4.x API
Yes i know. i am planning to use the AMD style later. but now i need to make the app work.
thanks.