Select to view content in your preferred language

Widget language not updating after applying `intl.setLocale("es-MX");`

68
0
a week ago
bradMaps
Occasional Contributor

I am developing a React app using the following:

- ArcGIS JS Maps SDK

- Calcite

- Survey123 web app API

When a user changes the language (default en-US to es-MX) in the embedded survey, I need to change the language of the map's widgets, as well.

bradMaps_0-1736199975549.png

I created a simple codepen that should change the map/widget's language on button click, but I'm not seeing the language in the search widget, for example, update.  Any ideas?

intl.setLocale("es-MX")

https://codepen.io/bsnide/pen/gbYoxwE

Thanks!

Tags (3)
0 Kudos
0 Replies