Rename "Usage 1" and "Usage 2"

Moderator: leecollings

Post Reply
User avatar
Hesitated
Posts: 42
Joined: Monday 04 June 2018 21:40
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.11665
Location: Ede
Contact:

Rename "Usage 1" and "Usage 2"

Post by Hesitated »

Is it possible to rename "Usage 1" and "Usage 2" to "Usage high" and "Usage low"?
Domoticz 2020.2 - RPi3B+ - RFXtrx433XL - P1 - CC2531 - Somfy - Xiaomi - Hue - Omron - MQTT
EricT
Posts: 30
Joined: Tuesday 01 May 2018 8:09
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.9440
Location: Rijen, The Netherlands
Contact:

Re: Rename "Usage 1" and "Usage 2"

Post by EricT »

I came across it when I changed the text of my virtual counter. Before you start making changes it is maybe wise to keep a copy of the original file in case you screw it up like I did. :oops:

Edit the language file in the folder: domoticz/www/i18n/. Copy the file to your PC and uncompress it. Use a json editor to edit the file, save it and compress it as a gzip file.

Replace the original compressed file by the new one, reboot your Pi and clear your browser cache.
if it was easy everybody would do it
manolito
Posts: 2
Joined: Monday 18 February 2019 20:07
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Rename "Usage 1" and "Usage 2"

Post by manolito »

Hi,
i did what EricT wrote and changed two items in the language file.
Rebooted Pi, cleared browser cache, tried a blanc browser but the new name is not shown

anyone an idea?

Greetz,
Manolito
mlstorm
Posts: 1
Joined: Friday 17 March 2023 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Rename "Usage 1" and "Usage 2"

Post by mlstorm »

Hi,

I also tried downloading, editing the files as was suggested and put back the new file (.gz packed with 7zip) via psftp, but I am not seeing the changes in the Domoticz interface unfortunately. I rebooted, cleared browser cache, tried a different browser (that was not used to open my Domoticz url before).

So hoping there is another way of doing this, or that I am missing something.

Any help would be appreciated!
Thorgal789
Posts: 832
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: Rename "Usage 1" and "Usage 2"

Post by Thorgal789 »

Same question, no other permanent way ? Because editing file is not persisitent (And BTW the post have been hijacked to insert a spam url on the file folder)
User avatar
waltervl
Posts: 5361
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Rename "Usage 1" and "Usage 2"

Post by waltervl »

Thorgal789 wrote: Monday 20 January 2025 14:18 (And BTW the post have been hijacked to insert a spam url on the file folder)
Fixed, probably a typing error at the time of writing...
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
waltervl
Posts: 5361
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Rename "Usage 1" and "Usage 2"

Post by waltervl »

The problem is that in every country this can mean something different, depending of the implementation by the energy supplier. For example in Belgium and The Netherlands (both Dutch (NL) speaking) the meaning is reversed....
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Thorgal789
Posts: 832
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: Rename "Usage 1" and "Usage 2"

Post by Thorgal789 »

The problem is that in every country this can mean something different, depending of the implementation by the energy supplier.
Yes, in our country, can have different name according supplier
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests