2011-08-04 11:14:34 |
fredtdtje |
description |
In the menu, sometimes everything shows up in English, as should be, because English is my Ubuntu language.
My locale, however, is Dutch (Netherlands). Rather unexpectedly, when I click on "Forecast", a window pops up with a Dutch language forecast weather description ("Kans op regen" (Eng: Possibly rain?)), but with the English words High and Low.
Apparently, indicator-weather uses both environment variables LANGUAGE and LANG, whilst it should use only one of them for all texts (preferably LANGUAGE).
When further investigating this problem, it appears that when I select Yahoo! as data source, the weather description items are in English (Partly cloudy, Temperature: ..%, Humidity: ..%, Wind: .. , #, Sunrise: ..:.., Sunset: ..;..), whereas when I select Google as data source, these items show up in Dutch, except for Sunrise and Sunset, which items stay in English. |
In the menu, sometimes everything shows up in English, as should be, because English is my Ubuntu language.
My locale, however, is Dutch (Netherlands). Rather unexpectedly, when I click on "Forecast", a window pops up with a Dutch language forecast weather description ("Kans op regen" (Eng: Possibly rain?)), but with the English words High and Low.
Apparently, indicator-weather uses both environment variables LANGUAGE and LANG, whilst it should use only one of them for all texts (preferably LANGUAGE).
When further investigating this problem, it appears that when I select Yahoo! as data source, the weather description items are in English (Partly cloudy, Temperature: ..%, Humidity: ..%, Wind: .. , #, Sunrise: ..:.., Sunset: ..;..), whereas when I select Google as data source, these items show up in Dutch, except for Sunrise and Sunset, which items stay in English.
$ locale
LANG=nl_NL.UTF-8
LANGUAGE=en_US:en
LC_CTYPE="nl_NL.UTF-8"
LC_NUMERIC="nl_NL.UTF-8"
LC_TIME="nl_NL.UTF-8"
LC_COLLATE="nl_NL.UTF-8"
LC_MONETARY="nl_NL.UTF-8"
LC_MESSAGES=en_US.UTF-8
LC_PAPER="nl_NL.UTF-8"
LC_NAME="nl_NL.UTF-8"
LC_ADDRESS="nl_NL.UTF-8"
LC_TELEPHONE="nl_NL.UTF-8"
LC_MEASUREMENT="nl_NL.UTF-8"
LC_IDENTIFICATION="nl_NL.UTF-8"
LC_ALL= |
|