Different languages used together
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Weather Indicator |
New
|
Undecided
|
Unassigned |
Bug 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.
$ locale
LANG=nl_NL.UTF-8
LANGUAGE=en_US:en
LC_CTYPE=
LC_NUMERIC=
LC_TIME=
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=
description: | updated |