Strings.ini: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m (added note on restarting)
m (Added note on MoonPhases)
Line 2: Line 2:




The file strings.ini allows the customisation of a number of phrases, including the associated webtags.
The file strings.ini allows the customisation of the [[Forecast webtag|forecast]], including the webtag, if you have opted to have the forecast generated by Cumulus. By default Cumulus will provide a list of 28 possible forecasts. By editing the strings.ini file you can change the wording of these or translate to another language.


Currently you can modified phrases associated with the following:

*Forecasting
*Moonphases


=Modifying the phrases=


In the folder where you installed Cumulus, you will find a file called <tt>samplestrings.ini</tt>. Take a copy of this, leave it in the Cumulus installation folder, and name it <tt>strings.ini</tt>
In the folder where you installed Cumulus, you will find a file called <tt>samplestrings.ini</tt>. Take a copy of this, leave it in the Cumulus installation folder, and name it <tt>strings.ini</tt>

'''You must restart Cumulus if you make changes to the Strings.ini file while Cumulus is running'''


=Forecast phrases=

By default Cumulus will provide a list of 28 possible forecasts. By editing the strings.ini file you can change the wording of these or translate to another language. You must have opted to have the forecast generated by Cumulus in the configuration page.



The file contains all the strings used for the forecasts, example:
The file contains all the strings used for the forecasts, example:
Line 16: Line 31:




=Moon Phases=
'''You must restart Cumulus if you make changes to the Strings.ini file while Cumulus is running'''

The option to change moon phases requires version 1.8.8 build 872 or greater, currently in beta testing

Withing the [MoonPhases] section of the strings.ini file there are 8 possible phrases to describe the phases of the moon. Adjust these as required.






Revision as of 14:40, 12 November 2009

NOTE: This feature is only available in version 1.8.8 build 871 and greater


The file strings.ini allows the customisation of a number of phrases, including the associated webtags.

Currently you can modified phrases associated with the following:

  • Forecasting
  • Moonphases


Modifying the phrases

In the folder where you installed Cumulus, you will find a file called samplestrings.ini. Take a copy of this, leave it in the Cumulus installation folder, and name it strings.ini

You must restart Cumulus if you make changes to the Strings.ini file while Cumulus is running


Forecast phrases

By default Cumulus will provide a list of 28 possible forecasts. By editing the strings.ini file you can change the wording of these or translate to another language. You must have opted to have the forecast generated by Cumulus in the configuration page.


The file contains all the strings used for the forecasts, example:

forecast23=Precipitation at frequent intervals

you could change to

forecast23=Rain again


Moon Phases

The option to change moon phases requires version 1.8.8 build 872 or greater, currently in beta testing

Withing the [MoonPhases] section of the strings.ini file there are 8 possible phrases to describe the phases of the moon. Adjust these as required.


A variety of translated files are coming soon in the other Languages section