Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Translations

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

User avatar
pernaczy
Posts: 133
Joined: Thu 15 Nov 2012 5:42 pm
Weather Station: Fine Offset WH 2080, TFA Spring
Operating System: Windows 7
Location: Niesiolowice, Northern Poland
Contact:

Re: Translations

Post by pernaczy »

I'm new here so first of all Welcome to everybody, :mrgreen:
I put thist post here because the problem is related to my national language (Polish).
I've installed 2.1.1 Stell Gauges and everytrhing seems to be working fine so I start to work out the translation to polish.
First I've installed my (prepared by one of the members of polish cumulus forum) "language.min.js". Result was acceptable except of
displaying the winddir units in the winddir gauge (see enclosed picture).
An "A" character showed up in front of the symbol. Maybe the problem is with improper format of my files (some are in ISO 8859-2
to get national characters, and some in UTF-8 to get all this stuff runing).
So my question is: which file has defined wind direction units ('°') that are displaed in the winddir gauge?
I'm sorry if I've expressed myself not very clear (my english is as it is).
You do not have the required permissions to view the files attached to this post.
The day when I have learned something is not the lost one.
Ignorance can be corrected with the help of a book. Stupidity requires a shotgun and a shovel.

Image
User avatar
Werk_AG
Posts: 198
Joined: Sun 13 Jan 2013 8:04 pm
Weather Station: WeatherDuino 4Pro
Operating System: Windows 7
Location: Cercal CDV - Portugal
Contact:

Re: Translations

Post by Werk_AG »

This problem is caused by mixing pages with different iso codes.

To solve this, display your gauges page (it is in uft-8) inside a iframe. Something like this:

<Iframe src="gauges-ss.htm" width="800" height="1100" frameBorder="0"></Iframe>
Image
The freedom to choose the weather instruments you want
User avatar
pernaczy
Posts: 133
Joined: Thu 15 Nov 2012 5:42 pm
Weather Station: Fine Offset WH 2080, TFA Spring
Operating System: Windows 7
Location: Niesiolowice, Northern Poland
Contact:

Re: Translations

Post by pernaczy »

Werk_AG wrote:This problem is caused by mixing pages with different iso codes.

To solve this, display your gauges page (it is in uft-8) inside a iframe. Something like this:

<Iframe src="gauges-ss.htm" width="800" height="1100" frameBorder="0"></Iframe>
Thanks. I will try with frames but I still would like to know from where this "wind dir" gauge "takes" this symbol " ° " which is displayed after the values.
The day when I have learned something is not the lost one.
Ignorance can be corrected with the help of a book. Stupidity requires a shotgun and a shovel.

Image
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Translations

Post by mcrossley »

The degree symbol "°", is embedded in the SteelSeries library.
Post Reply