in java script 3.* there was library "dojo/i18n!esri/nls/jsapi"
require(["esri/map", "dojo/i18n!esri/nls/jsapi", "dojo/domReady!"],
function(Map, bundle) {
bundle.widgets.legend.NLS_noLegend = "My No Legend";
}
);
But it looks that "dojo/i18n!esri/nls/jsapi" is missed in js 4.6. So i can not translate any text.
Is there any other way to localize resources ?
Hi @ Robert Scheitlin, GISP @ Sergey Vladimirov We’re looking into this for a future update.
We're also looking to start using dojo2 i18n for our widgets and Dojo2 has a plan to be able to do this.
Matt,
So right now there is now way to override localized widget strings?
As of right now, not that I'm aware of.
You could create a copy of the view and supply a custom one but that seems like overkill. There may be some way to intercept the URL but that seems like a bad idea as well.
may there is way to create my own resources. as esri does not support ukrainian language, i would create it.