Weather by You!
Templates and Projects support => Html Templates => Topic started by: Dewey on December 29, 2013, 02:09:52 PM
-
I am using the latest version of Weather Blues which has the capability of showing extra sensors. It shows the sensors as Extra Temperature 1, Extra Temperature 2, and Extra Temperature 3. I want to change those names to the actual names. I can't find anything to change in the station.php file, but I do see them in station_txt.php. We have been warned not to change _txt.php files. How can I revise these descriptions?
-
Hi Dewey,
You're using standard Cumulus configuration for displayed strings.
Depends on your station type, you could change it by 2 different ways:
- In menu Configuration --> Display, you'll see a section called
"WMR928 extra channel captions", check if it apply to your situation.
- For other stations, you have to edit a file manually, as this:
First, stop Cumulus if running, locate your Cumulus local folder
(usually C:\Cumulus) and rename file Samplestrings.ini to Strings.ini.
When Cumulus see a file called Strings.ini, he use it for configuration.
So, edit file Strings.ini, at buttom, you'll see a lot of extra sensors
captions, your temperature sensor is located in section [ExtraTempCaptions].
Currently that file display only "Sensor 1" as title (don't look for "Extra Temperature 1"
this is the internal name given by Cumulus)
[ExtraTempCaptions]
Sensor1=Sensor 1
So, replace with your own text, ex.
Sensor1=Greenhouse temp
Finally, restart Cumulus and see if your changes are ok.
Hope this help!
Regards,
Jacques
-
Thanks Jacques. The captions in Cumulus at View/Extra Data are reading correctly.
The captions in the Weather Blues template at About/Station are still reading Extra Temperature 1, etc.
-
Hi Dewey,
These text are translated, so you'll find in folder lang
files named text_standard_XX.php edit files corresponding to
language desired and replace text with your own.
Note, that these modifications could be replaced when updating
language files, so, keep a copy on side!
Regards,
Jacques
-
Thanks again. That did it!