EU localisation option (replace . with ,)

Moderator: leecollings

Post Reply
Gravityz
Posts: 583
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Netherlands
Contact:

EU localisation option (replace . with ,)

Post by Gravityz »

is there a localisation option for domoticz?
it seems that nowadays this should be standard instead of hard coded.

there are a lot of people in the EU who would like to read meters, counters with the EU standard(. thousand seperator and , for decimal seperator)

while not an option this was coded in the main.js file

Code: Select all

var _THOUSAND_SEPARATOR = '.';
var _DECIMAL_POINT = ',';
i checked but i can not find these variables anywhere.

is there a way to get this done, for now a simple manual change in a file would do but i really think there should be a NON US option

thanks
Gravityz
Posts: 583
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Netherlands
Contact:

Re: EU localisation option (replace . with ,)

Post by Gravityz »

ok, can people who want this please reply with a simple I WANT THIS
otherwise we are getting nowhere

i rest my case if i am the only one
User avatar
leecollings
Posts: 167
Joined: Tuesday 30 June 2015 18:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: United Kingdom
Contact:

Re: EU localisation option (replace . with ,)

Post by leecollings »

Just my input, in the UK the two symbols you have quoted are round the wrong way.

Thousand separator should be a comma (,) and the decimal point should be a full stop (.)
Gravityz
Posts: 583
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Netherlands
Contact:

Re: EU localisation option (replace . with ,)

Post by Gravityz »

Exactly my problem

The EU is using this
Noe you know why the UK is leaving te EU.
They are part of the rest of the world
lazaruss72
Posts: 17
Joined: Thursday 14 December 2017 23:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: EU localisation option (replace . with ,)

Post by lazaruss72 »

I WANT THIS
:-)
Delfuego
Posts: 32
Joined: Sunday 29 July 2018 16:18
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: The Netherlands
Contact:

Re: EU localisation option (replace . with ,)

Post by Delfuego »

I WANT THIS!
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: EU localisation option (replace . with ,)

Post by EddyG »

I don't care. Over the years I am used to the way it is.
Kangooroo42
Posts: 8
Joined: Wednesday 23 October 2019 8:41
Target OS: Windows
Domoticz version:
Contact:

Re: EU localisation option (replace . with ,)

Post by Kangooroo42 »

I WANT THIS! in 2022!
SimonW
Posts: 2
Joined: Wednesday 01 April 2020 22:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: EU localisation option (replace . with ,)

Post by SimonW »

I WANT THIS TOO! in 2022!
MRabozee
Posts: 1
Joined: Thursday 29 September 2022 17:22
Target OS: OS X
Domoticz version:
Contact:

Re: EU localisation option (replace . with ,)

Post by MRabozee »

Hello, the possibility to modify the decimal separator and the thousand separator is a must have !
I even tried even to change the js code in www.app/app.js
(in that part:
//decimalPoint: decimalPoint,
//thousandsSep: thousandsSep,
decimalPoint: ',',
thousandsSep: ' ',
)

but it does change only in the graphs (tooltips for instance), not in the dashboard display of the sensors. '.' as decimal separator and ',' as thousand separator seem just to be hardwired somewhere :-) )
athoopen
Posts: 32
Joined: Wednesday 14 December 2022 12:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Netherlands
Contact:

Re: EU localisation option (replace . with ,)

Post by athoopen »

I really love Domoticz, however, one thing which is annoying me is the lack of localization :oops: . I do understand that it is Open Source and there is no "business" behind it. But we are in 2024, it’s not 2012. Many non-technical user use Domoticz, it's not techie only system (anymore).

I would (urgently) ask the developers of this great open source product to start discussing localization. Does it make sense (I think it does), and if it makes sense what will be localized (you could start with the decimal point and thousand separator .. just my 2 cents).

To all users who support this request, please let the developers know that you find this important!

Thanks for Domoticz!!
Cheers,
Arjan
thaui
Posts: 59
Joined: Sunday 15 March 2015 19:53
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: Hamburg
Contact:

Re: EU localisation option (replace . with ,)

Post by thaui »

Would be nice to have the choice between UK / EU decimal seperator.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest