Customize sketch widget language

198
2
Jump to solution
3 weeks ago
AMostafaH
New Contributor II

I'm trying to change the language of sketch widget into Arabic, how can I change the title used for each element and the labels of the graphics drawn.

 

sketch.jpg

thanks in advance.

 

0 Kudos
1 Solution

Accepted Solutions
Sage_Wall
Esri Contributor

Hi @AMostafaH ,

You can use the `intl` class to set the desired language as shown in this codepen

https://codepen.io/sagewall/pen/JjQjOmN

intl.setLocale("ar");

View solution in original post

2 Replies
Sage_Wall
Esri Contributor

Hi @AMostafaH ,

You can use the `intl` class to set the desired language as shown in this codepen

https://codepen.io/sagewall/pen/JjQjOmN

intl.setLocale("ar");
AMostafaH
New Contributor II

Thank you so much.

0 Kudos