Author Topic: Weather Blues - How to modify station file.  (Read 2130 times)

Offline Dewey

  • New member
  • *
  • Posts: 7
    • Dewey Dewdrops Weather
Weather Blues - How to modify station file.
« 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?

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Weather Blues - How to modify station file.
« Reply #1 on: December 30, 2013, 06:12:37 AM »
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
Please, consider supporting this site 

Offline Dewey

  • New member
  • *
  • Posts: 7
    • Dewey Dewdrops Weather
Re: Weather Blues - How to modify station file.
« Reply #2 on: December 30, 2013, 08:17:28 AM »
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.

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Weather Blues - How to modify station file.
« Reply #3 on: December 30, 2013, 08:35:19 AM »
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
Please, consider supporting this site 

Offline Dewey

  • New member
  • *
  • Posts: 7
    • Dewey Dewdrops Weather
Re: Weather Blues - How to modify station file.
« Reply #4 on: December 30, 2013, 08:51:10 AM »
Thanks again.  That did it!