GNOME Bugzilla – Bug 103079
Weather applet defaults to non-metric units
Last modified: 2004-12-22 21:47:04 UTC
Tested with the locale sv_SE. The weather applet seems to always default to using non-metric units. That's most likely not very clever, since almost all parts of the world (with the US as the most notable exception) does use metric units. The locale information (to be precise LC_MEASUREMENT) includes information about which unit system to use (1=metric, 2=US). It's probably a god idea to make use of that. If the locale information cannot be found or the locale is unset, using metric as the fallback is probably a good idea. In short: 1) Use locale info (en_US would return 2, all other locales will probably return 1) 2) If the above fails, use metric
This would probably require changing the UI to have a drop-down box (or whatever it's called) with something in the lines of: System default Metric units English units The gconf schema file has to be changed as well. But that's just details... ;-)
GNOME usually has sane defaults that I rarely need to change, but gweather is an exception in this regard. Obeying the locale would be a nice addition to the "just works" category.
This problem is worked on in the patch that is in bug #50595. For that reason i'm marking this as a duplicate to #50595 *** This bug has been marked as a duplicate of 50595 ***