HomeGenie Forum
Development => Bug reporting => Topic started by: nunofx on June 28, 2015, 06:36:42 PM
-
Since update to R493 that rolling shutters status are in French when fully open or close.
Anyone noticed this issue?
-
Yes, you have to add two lines in the file /usr/local/bin/homegenie/html/pages/control/widgets/homegenie/generic/locales/en.json as in the fr.json :
"control_module_off" : "Off",
"control_module_on" : "On",
"control_module_close" : "Close",
"control_module_open" : "Open",
"control_module_calibrate" : "Calibration",
I don't know why if the local data does not exist in the default file it take the value from fr.json.
Cheers
Dani
-
Yes, you have to add two lines in the file /usr/local/bin/homegenie/html/pages/control/widgets/homegenie/generic/locales/en.json as in the fr.json :
"control_module_off" : "Off",
"control_module_on" : "On",
"control_module_close" : "Close",
"control_module_open" : "Open",
"control_module_calibrate" : "Calibration",
I don't know why if the local data does not exist in the default file it take the value from fr.json.
Cheers
Dani
Thanks Dani but in fact in R493 looks like en.json it's ok already but I still see French stuff.
Just discovered that on /usr/local/bin/homegenie/html/pages/control/widgets/homegenie/generic/shutter.js, line 116 and 124, leveltext variable is affected with a status string in French.
Just hardcoded the English there for now.
Thanks anyway!