indicator-weather mixes up languages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Weather Indicator |
Fix Released
|
Low
|
Joshua Tasker |
Bug Description
indicator-weather does not consistently respect language settings. I got an English language setting, but the rest is set to Austria (details below, and screenshot). In the indicator-weather menu, english and german are mixed.
Expected output: All the text should be in english, as per the LANG setting.
This is on 11.04, with indicator-weather 11.04.10+
output of locale:
LANG=en_GB.UTF-8
LANGUAGE=en_GB:en
LC_CTYPE=
LC_NUMERIC=
LC_TIME=de_DE.UTF-8
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=de_AT.UTF-8
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=
Changed in weather-indicator: | |
milestone: | none → backlog |
Changed in weather-indicator: | |
assignee: | Panagiotis Skintzos (ph7) → nobody |
Indeed there is a mix. The get_locale used LC_CTYPE, but we should really use the LANGUAGE (the language for menus and windows in Language support dialog) .
Note that for formatting numbers and time, the LC_NUMERIC and LC_TIME are used.