GNOME Bugzilla – Bug 103080
Weather applet always defaults to using Pittsburgh as the weather station
Last modified: 2004-12-22 21:47:04 UTC
Tested with the locale sv_SE. The weather applet seems to always default to using the Pittsburgh weather station. That's probably nice for the original author and all that, but makes little sense for current users all around the world. Although not perfect, a better system would probably be to let the translators specify a default for their language in the translations. This is also the solution that Evolution uses.
When you say "always defaults" do you mean that it does not remember from session to session when you specify a new location?
No, I'm talking about the defaults here. "Always" as in "ignores what would be sensible for my locale".
The defaults can be also be set with gconf. I think the applet should prompt the user for a location when it is started instead of trying to guess (which will be wrong anyways even if the country is correct)
*** Bug 89310 has been marked as a duplicate of this bug. ***
*** Bug 89692 has been marked as a duplicate of this bug. ***
It's ok if it chooses the correct country because then you don't have to scroll through the whole list. the Locations file doesn't even contain all locations for my country (Sweden) so I've added those relevant to me myself. But if it would default on Stockholm which is the capital I wouldn't mind since I only change it once.. but having the default of a 5 day forecast for Pittsburgh is totaly useless to me. Default to the capital of each country if available is my suggestion.
1. Mårten Woxberg, we would love to have patches that add weather stations to the locations file, so please fill a bug and submit a patch! 2. What would be a nice and clear way to let the translator choose the default city?, someone a suggestion?
Created attachment 26947 [details] [review] translatable default location patch This patch allows the translator to choose a different default location by adding 4 translatable strings. These four strings should be set to the four parameters in the Locations file for the choosen default city. Basically all I did was make the current location defaults translatable (and added some comments to tell the translator what is required)
Created attachment 27134 [details] [review] updated patch I've updated the patch, so that it will now work if/when the location names are marked for translation.
Would be nice to get this in as soon as we branch.
Patch applied. Thanks a lot Gareth! Sorry for taking so long to review.