Can I set the locale for the map view?

465
1
01-25-2018 02:14 PM
YueZhou1
New Contributor

I believe that ESRI uses web browser's locale for localization. Somehow my main page uses different approach for the locale. And the ESRI map view page is embedded as an iframe in the main page. Is there a way I can set the locale programmatically? Thanks,

YZ

0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus

YZ,

  Sure you can specify the locale:

Localization | Guide | ArcGIS API for JavaScript 3.23 

<script type="text/javascript">
  dojoConfig = {
    locale: "fr",
    parseOnLoad: true
  };
</script>
0 Kudos