It is currently October 14th, 2024, 9:26 pm
JSBarometer
-
- Posts: 72
- Joined: September 22nd, 2010, 8:30 pm
Re: JSBarometer
Great work. I'm going to download it and tinker with the settings and do all the other things i always do with new stuff. Looks like fun.
-
- Developer
- Posts: 22856
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: JSBarometer
Great. Let me know if you break it.
I gave up on even considering the unit of measure when I hit Chinese... 毫巴
I went with "ranges" instead, since the possible ranges of pressure are
870 - 1084 millibars
25.90 - 32.01 inches
-
- Posts: 72
- Joined: September 22nd, 2010, 8:30 pm
Re: JSBarometer
Works like a charm
German
Dutch
If i find something i'll let you know
German
Dutch
If i find something i'll let you know
You do not have the required permissions to view the files attached to this post.
-
- Developer
- Posts: 22856
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: JSBarometer
Added UV Index values to WeatherComRegExp.inc and to WeatherComCurrent.inc
Get the new .rmskin in the first post of this thread.
Get the new .rmskin in the first post of this thread.
-
- Posts: 72
- Joined: September 22nd, 2010, 8:30 pm
Re: JSBarometer
I've been trying some language settings, and there are some problems with languages that use non-latin script and especially when they use their own numeral system.
Russian works just fine
So does Hindi (India)
And Thai
But Hebrew doesn't
weather.com: Arabic and Bengali (that's spoken in Bangladesh) also use their own numeral system
Bengali Arabic They both break the barometer; here's the example for Arabic
Language settings tested: ;ar-KW (Arabic) / he-IL (Hebrew) /bn-BD (Bengali) /ru-RU (Russian) / hi-IN (Hindi) / th-TH (Thai)
I tested some more but it seems to boil down to non-western numeral systems and an issue with regard to the Hebrew alfabet
Russian works just fine
So does Hindi (India)
And Thai
But Hebrew doesn't
weather.com: Arabic and Bengali (that's spoken in Bangladesh) also use their own numeral system
Bengali Arabic They both break the barometer; here's the example for Arabic
Language settings tested: ;ar-KW (Arabic) / he-IL (Hebrew) /bn-BD (Bengali) /ru-RU (Russian) / hi-IN (Hindi) / th-TH (Thai)
I tested some more but it seems to boil down to non-western numeral systems and an issue with regard to the Hebrew alfabet
You do not have the required permissions to view the files attached to this post.
-
- Developer
- Posts: 22856
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: JSBarometer
Well, not much I can do about that. I have to be able to do "math" on some harmonized number. I doubt I'm going to sweat converting Bengali too much... Hebrew feels like it comes down to how I extract the number from the overall string. Everywhere else is "value label" and Hebrew is "label value".Wim wrote: ↑January 28th, 2020, 4:48 pm I've been trying some language settings, and there are some problems with languages that use non-latin script and especially when they use their own numeral system.
Russian works just fine
Baro_Russian.PNG
So does Hindi (India)
Baro_Hindi.PNG
And Thai
Baro_Thai.PNG
But Hebrew doesn't
Baro_Hebrew.PNG
weather.com:
Baro_HE.PNG
Arabic and Bengali (that's spoken in Bangladesh) also use their own numeral system
Bengali
Baro-bn.PNG
Arabic
Baro_AR.PNG
They both break the barometer; here's the example for Arabic
Baro_Arabic.PNG
Language settings tested: ;ar-KW (Arabic) / he-IL (Hebrew) /bn-BD (Bengali) /ru-RU (Russian) / hi-IN (Hindi) / th-TH (Thai)
I tested some more but it seems to boil down to non-western numeral systems and an issue with regard to the Hebrew alfabet
The intent of this skin is really "imperial or metric", I think I've pushed this about as far as I can.
-
- Posts: 72
- Joined: September 22nd, 2010, 8:30 pm
Re: JSBarometer
Sounds reasonable enough
Besides: part of the thing with Rainmeter is doing things yourselves. I like messing around with it (though i'm not much of a coder) and finding a solution. It's the reason why i kept using it for ten years.
So as an example
Hebrew
Bengali
As an user i'm used to 'one-size-fits-all english-only' sort of output from especially weather sites and since i like to have my skins in my own language i've spend a lot of time translating stuff. Some of the alterations and substitute strings i've made where horrendous, but they were fun to do and (ultimately) worked.
Weather.com is doing the opposite and localizes it's output to an extreme extent. You've gone a considerable way in implementing that in your skin but I would still think that it is perhaps not the task of the coder to offer all languages and formats in a skin, but leave that to the user.
Besides: part of the thing with Rainmeter is doing things yourselves. I like messing around with it (though i'm not much of a coder) and finding a solution. It's the reason why i kept using it for ten years.
So as an example
Hebrew
Bengali
As an user i'm used to 'one-size-fits-all english-only' sort of output from especially weather sites and since i like to have my skins in my own language i've spend a lot of time translating stuff. Some of the alterations and substitute strings i've made where horrendous, but they were fun to do and (ultimately) worked.
Weather.com is doing the opposite and localizes it's output to an extreme extent. You've gone a considerable way in implementing that in your skin but I would still think that it is perhaps not the task of the coder to offer all languages and formats in a skin, but leave that to the user.
You do not have the required permissions to view the files attached to this post.
-
- Developer
- Posts: 22856
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
-
- Posts: 72
- Joined: September 22nd, 2010, 8:30 pm
Re: JSBarometer
Thnx!
As an user you really can make it anything you want ... hahahaha
As an user you really can make it anything you want ... hahahaha
You do not have the required permissions to view the files attached to this post.
-
- Posts: 1
- Joined: April 29th, 2020, 1:03 am
Re: JSBarometer
What a wonderful idea for a weather skin! I was able to easily customize it to fit in with my existing skins.