Change seperator of coordinate widget from , to .

297
2
04-19-2022 05:40 AM
Wasserwiki
New Contributor II

Hi,

 

is it possible to change the seperator of the coordinate widget of the WebAppBuildert from , to .? I've allready scrolled through the widgets/Coordinate/Widget.js file, but it looks like I'm just to bad with Java script. Is there anybody who could provide some tips here?

Unbenannt.jpg

The link to the running webapp:

https://wasserwiki.eu/Wasserwiki_App/

0 Kudos
2 Replies
KenBuja
MVP Esteemed Contributor

This is dependent on the machine's locale setting. On my machine ("en-us"), it shows as a "."

decimal.png

However, if I use a locale URL setting with your app (https://wasserwiki.eu/Wasserwiki_App/?locale=FR-fr), it shows ","

degrees1.png

Wasserwiki
New Contributor II

That does make sense. Thanks for clarifiying. Is there a way to prevent the app from switching to the comma seperator, as the most apps, even in europe, use the point format?

0 Kudos