Strings.ini: Difference between revisions
m (→Modifying the phrases: Clarify) |
m (→Modifying the phrases: Reads ok now) |
||
Line 17: | Line 17: | ||
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 can edit anything that follows the equals sign. By default, |
You can edit anything that follows the equals sign. By default, there is always a particular phrase already there, but you can replace the right hand text with the equivalent in another language, or with a similar but more descriptive phase that is easier for you to understand. |
||
'''You must restart Cumulus if you make changes to the Strings.ini file while Cumulus is running'''. Cumulus only reads the file when it starts to run. |
'''You must restart Cumulus if you make changes to the Strings.ini file while Cumulus is running'''. Cumulus only reads the file when it starts to run. |
Revision as of 17:45, 21 August 2013
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
- Beaufort Scale
- Trend descriptions
- Compass points
- Graph titles
- Additional sensor names
Note that you can only change the display of items that are already present in the samplestrings.ini file (and hence in your strings.ini file). You can't just add other items to the file and expect them to work.
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 can edit anything that follows the equals sign. By default, there is always a particular phrase already there, but you can replace the right hand text with the equivalent in another language, or with a similar but more descriptive phase that is easier for you to understand.
You must restart Cumulus if you make changes to the Strings.ini file while Cumulus is running. Cumulus only reads the file when it starts to run.
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
Within the [MoonPhases] section of the strings.ini file there are 8 possible phrases to describe the phases of the moon. Adjust these as required.
Graph Titles
This section [Graphs] allows you modify the titles used for both the thumbnail and larger graphs that Cumulus produces. For instance you may want to change the language from the default English.
Extra Sensor Captions
This section [ExtraSensorCaptions] allows you to assign meaningful names to any addtional sensors you may have added to your WMR100/200 weather station.
Extra Temperature Captions, Extra Humidity Captions, Extra Dew Point Captions, Soil Temperature Captions, Soil Moisture Captions, Leaf Temperature Captions, and leaf Wetness Captions
Meaningful descriptive labels can be assigned to each extra Davis or Oregon Scientific sensor by editing the lines in the following sections and placing a more appropriate descriptive name to the right of the equals sign:
- [ExtraTempCaptions]
- [ExtraHumCaptions]
- [ExtraDPCaptions]
- [SoilTempCaptions]
- [SoilMoistureCaptions]
- [LeafTempCaptions]
- [LeafWetnesscaptions]
Example file
[Forecast] Forecast=Forecast notavailable=Not available exceptional=Exceptional Weather forecast1=Settled fine forecast2=Fine weather forecast3=Becoming fine forecast4=Fine, becoming less settled forecast5=Fine, possible showers forecast6=Fairly fine, improving forecast7=Fairly fine, possible showers early forecast8=Fairly fine, showery later forecast9=Showery early, improving forecast10=Changeable, mending forecast11=Fairly fine, showers likely forecast12=Rather unsettled clearing later forecast13=Unsettled, probably improving forecast14=Showery, bright intervals forecast15=Showery, becoming less settled forecast16=Changeable, some precipitation forecast17=Unsettled, short fine intervals forecast18=Unsettled, precipitation later forecast19=Unsettled, some precipitation forecast20=Mostly very unsettled forecast21=Occasional precipitation, worsening forecast22=Precipitation at times, very unsettled forecast23=Precipitation at frequent intervals forecast24=Precipitation, very unsettled forecast25=Stormy, may improve forecast26=Stormy, much precipitation [MoonPhases] Newmoon=New moon WaxingCrescent=Waxing Crescent FirstQuarter=First Quarter WaxingGibbous=Waxing Gibbous Fullmoon=Full moon WaningGibbous=Waning Gibbous LastQuarter=Last Quarter WaningCrescent=Waning Crescent [Beaufort] Calm=Calm Lightair=Light air Lightbreeze=Light breeze Gentlebreeze=Gentle breeze Moderatebreeze=Moderate breeze Freshbreeze=Fresh breeze Strongbreeze=Strong breeze Neargale=Near gale Gale=Gale Stronggale=Strong gale Storm=Storm Violentstorm=Violent storm Hurricane=Hurricane [Trends] Risingveryrapidly=Rising very rapidly Risingquickly=Rising quickly Rising=Rising Risingslowly=Rising slowly Steady=Steady Fallingslowly=Falling slowly Falling=Falling Fallingquickly=Falling quickly Fallingveryrapidly=Falling very rapidly [Compass] N=N NNE=NNE NE=NE ENE=ENE E=E ESE=ESE SE=SE SSE=SSE S=S SSW=SSW SW=SW WSW=WSW W=W WNW=WNW NW=NW NNW=NNW [Graphs] SmallGraphWindSpeedTitle=Wind Speed SmallGraphOutsideTemperatureTitle=Outside Temperature SmallGraphInsideTemperatureTitle=Inside Temperature SmallGraphPressureTitle=Pressure SmallGraphRainfallRateTitle=Rainfall Rate SmallGraphWindDirectionTitle=Wind Direction SmallGraphTempMinMaxAvgTitle=Temp Min/Max/Avg SmallGraphHumidityTitle=Humidity SmallGraphRainTodayTitle=Rain Today SmallGraphDailyRainTitle=Daily Rain *SmallGraphSolarTitle=Solar Radiation *SmallGraphUVTitle=UV Index *SmallGraphSunshineTitle=Daily Sunshine (hrs) LargeGraphWindSpeedTitle=Wind Speed LargeGraphWindGustTitle=Wind Gust LargeGraphOutsideTempTitle=Temperature LargeGraphHeatIndexTitle=Heat Index LargeGraphDewPointTitle=Dew Point LargeGraphWindChillTitle=Wind Chill LargeGraphApparentTempTitle=Apparent Temperature LargeGraphInsideTempTitle=Inside Temperature LargeGraphPressureTitle=Pressure LargeGraphRainfallRateTitle=Rainfall Rate LargeGraphWindDirectionTitle=Wind Direction LargeGraphWindAvgDirectionTitle=Average LargeGraphMinTempTitle=Min Temp LargeGraphMaxTempTitle=Max Temp LargeGraphAvgTempTitle=Avg Temp LargeGraphInsideHumidityTitle=Inside Humidity LargeGraphOutsideHumidityTitle=Outside Humidity LargeGraphRainfallTodayTitle=Rainfall Today LargeGraphDailyRainfallTitle=Daily Rainfall *LargeGraphSolarTitle=Solar Radiation *LargeGraphMaxSolarTitle=Theoretical Max *LargeGraphUVTitle=UV Index *LargeGraphSunshineTitle=Daily Sunshine(hrs) [ExtraSensorCaptions] Solar=Solar ExtraChannel2=Extra Channel 2 ExtraChannel3=Extra Channel 3 ExtraChannel4=Extra Channel 4 ExtraChannel5=Extra Channel 5 ExtraChannel6=Extra Channel 6 ExtraChannel7=Extra Channel 7 ExtraChannel8=Extra Channel 8 ExtraChannel9=Extra Channel 9 ExtraChannel10=Extra Channel 10 *[ExtraTempCaptions] Sensor1=Sensor 1 Sensor2=Sensor 2 Sensor3=Sensor 3 Sensor4=Sensor 4 Sensor5=Sensor 5 Sensor6=Sensor 6 Sensor7=Sensor 7 Sensor8=Sensor 8 Sensor9=Sensor 9 Sensor10=Sensor 10 *[ExtraHumCaptions] Sensor1=Sensor 1 Sensor2=Sensor 2 Sensor3=Sensor 3 Sensor4=Sensor 4 Sensor5=Sensor 5 Sensor6=Sensor 6 Sensor7=Sensor 7 Sensor8=Sensor 8 Sensor9=Sensor 9 Sensor10=Sensor 10 *[ExtraDPCaptions] Sensor1=Sensor 1 Sensor2=Sensor 2 Sensor3=Sensor 3 Sensor4=Sensor 4 Sensor5=Sensor 5 Sensor6=Sensor 6 Sensor7=Sensor 7 Sensor8=Sensor 8 Sensor9=Sensor 9 Sensor10=Sensor 10 *[SoilTempCaptions] Sensor1=Sensor 1 Sensor2=Sensor 2 Sensor3=Sensor 3 Sensor4=Sensor 4 *[SoilMoistureCaptions] Sensor1=Sensor 1 Sensor2=Sensor 2 Sensor3=Sensor 3 Sensor4=Sensor 4 *[LeafTempCaptions] Sensor1=Sensor 1 Sensor2=Sensor 2 *[LeafWetnesscaptions] Sensor1=Sensor 1 Sensor2=Sensor 2 * = value/section added v1.9.3 beta
A variety of translated files are coming soon in the other Languages section