AnsweredAssumed Answered

Translation files (NLS) not used in basic-viewer-template

Question asked by mrcdecoaticook on Aug 2, 2018
Latest reply on Aug 2, 2018 by mrcdecoaticook

Hi,

 

I downloaded the last version of the basic-viewer-template (GitHub - Esri/Viewer: Viewer is a configurable application template that enables you to display an ArcGIS web map using … ) and the translations in the NLS folder are not used when loading the page in my browser which is in French.

 

I temporarily copy-pasted the French values in the ressource.js file in the js/nls folder, but if someone with an English browser (or any other language) visits my app, he will get the french version.

 

Any idea how I could fix that?

 

Thanks

Outcomes