Select to view content in your preferred language

How to make widgets multi language?

633
2
07-11-2022 04:17 AM
Vakhtang_Zubiashvili
Frequent Contributor

Hi,

 

So, i have my beautiful map, i can change languages for my custom HTML elements , click GEO and ENG buttons and languages are changed. Now i want to translate API elements, like Popup, elevation widget etc... Is there any simple way to translate or i have to go my way and find a way?

0 Kudos
2 Replies
Noah-Sager
Esri Regular Contributor

Hi @Vakhtang_Zubiashvili, I think the easiest way is to use localization. There are two methods described in our guide topic that should help: https://developers.arcgis.com/javascript/latest/localization/

 

Vakhtang_Zubiashvili
Frequent Contributor

 Hi Noah, Thank you.

 

But here we have some problems:

1. We do not have Georgian in the languages list;

2. I have Custom HTML on my map and how these elements will be translated using LOCALIZATION?

Thanks

0 Kudos