Select to view content in your preferred language

ArcGIS Js API React app localization

396
1
10-26-2022 12:34 AM
daltvr
by
New Contributor II

Hello, we are starting building the new application with React and ArcGIS Javascript API. The app should be localized. I'm wondering which library will cooperate better with the ArcGIS Javascript api and React.

react-i18next (https://react.i18next.com/ or react-intl (https://www.npmjs.com/package/react-intl) or doesn't matter?

Does anybody have an experience with that?

Thank you.

Dalibor

0 Kudos
1 Reply
AndyGup
Esri Regular Contributor

Hi @daltvr for localizing the various elements that belong to the ArcGIS JS API, see this guide topic: https://developers.arcgis.com/javascript/latest/localization/. The API widgets use their own localization strings.

0 Kudos