Rune,

The SteelSeries gauges pick up their translations from the 
scripts/src/language.js file (well actually the scripts/language.min.js 
file which is a minified version of scripts/src/language.js) If you have a 
look in langauge.js, down around line 1190 you will find the Norwegian 
translations. Line 1334 has metres: "meters" which is what will be doing 
the translation you have seen. You could make the change yourself but you 
would then need to make a minified version to replace language.min.js, and 
of course the problem then will be your file will be liable to being 
overwritten during any future upgrades. 

I don't know where else that translation may be used, and I certainly don't 
know enough Norwegian to talk to the subject - cloudbase/skybase is about 
my limit :) I suggest you take the issue up with Mark Crossley, the 
Steel-Series-Weather-Gauges repo owner, you could contact him via the Cumulus 
Forums <http://sandaysoft.com/forum/index.php> (there is a Steel Series 
forum there) or you could just raise an issue on GitHub.

Gary

On Friday, 30 September 2016 23:56:46 UTC+10, gjr80 wrote:
>
> Rune,
>
> Ok, I can see what you mean now. The issue is the translation of the word 
> `meters` on the face of the cloudbase/skybase gauge. Unfortunately that 
> translation is solely in the domain of the SteelSeries code; not weewx, 
> weewx-wd nor the ss skin. I am not sure whether the SteelSeries gauges 
> translate the units on the gauge faces or not. Though comparing you gauges 
> to mine, I see I have 'metres' and you have 'meters', so something seems to 
> be going on with the gauge face units. I will have a look at the 
> SteelSeries code and see if I can work out what is the expected behaviour. 
> But it looks like an issue to take up with the SteelSeries gauges author. 
>
> Gary
>
> On Friday, 30 September 2016 16:54:43 UTC+10, Rune Lægreid wrote:
>>
>> Gary,
>>
>> I am using whew-WD to drive the SteelSeries gauges.
>> ...and yes skybase is a correct translation of cloudbase.
>> The issue is merely that I am using the Norwegian translation and that 
>> works perfect apart from the unit used for cloudbase. 
>> ....and it is a tiny detail. In Norwegian we do not use the plural "s" 
>> for "meter" like you do in English "meters". If you look at my page 
>> http://www.torolmen.no/database/ss/index.html you will see that the 
>> skybase (cloudbase) gauge displays meter*s* instead of meter.
>>
>> ...and while we are at it, you will also notice that the default units 
>> for this gauge is feet (ft). I haven't been able to change that to meter 
>> (m).
>>
>> Rune.
>>
>> mandag 26. september 2016 02.01.49 UTC+2 skrev gjr80 følgende:
>>>
>>> Hi again,
>>>
>>> Might need a bit more information in order to track down the issue here. 
>>> Specifically:
>>>
>>>    1. What skin are you using? Given you previous weewx-WD problem post 
>>>    I presume you are using weewx-WD to drive the SteelSeries gauges, is 
>>> this 
>>>    correct?
>>>    2. You have a problem with skybase - do you mean cloudbase - Norsk 
>>>    skybas ? A Google translate issue I guess!
>>>    3. You say that there is a translation issue, is it a case of the 
>>>    the English word metres (or meters) being displayed when a Norwegian 
>>>    equivalent should be displayed? Where exactly is the issue? Do you have 
>>> an 
>>>    internet accessible link to your page (preferred) or a screen capture? 
>>>
>>> Any of the skins for weewx that produce the data file to drive the 
>>> SteelSeries gauges only provide numeric data and the units used by the 
>>> values in the file. In the case of the SteelSeries guages on a Saratoga 
>>> template page any translation of the text on the page is done through the 
>>> Saratoga template. Any translations of the text on the gauge faces 
>>> themselves are done through the SteelSeries javascript code. None of this 
>>> is handled by or set by the underlying data file.
>>>
>>>
>>> If I have your issue completely wrong and it's a case of displaying 
>>> cloudbase in ft rather than metres, then this is easily done through the 
>>> units settings at the bottom of the Saratoga gauges page. It should be a 
>>> sticky setting.
>>>
>>>
>>> If you can point out exactly what the problem is that would help 
>>> immensley in getting you a meaningful answer.
>>>
>>>
>>> Gary
>>>
>>> On Monday, 26 September 2016 01:04:04 UTC+10, Rune Lægreid wrote:
>>>>
>>>> Hi,
>>>>
>>>> I am using the skins to generate Saratoga Steelseries Gauges and in the 
>>>> Norwegian the skybase calculation comes up with meters which is not proper 
>>>> Norwegian. I have tried to locate the source for this translation, but 
>>>> have 
>>>> not been able to find it.
>>>>
>>>> It is not a big issue, but kind of annoying.
>>>>
>>>> Rune.
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to