GNOME Bugzilla – Bug 142677
Add more Polish cities and split them into regions
Last modified: 2004-12-22 21:47:04 UTC
Description of Problem: Current information on weather in Poland is very limited, it doesn't cover even all the biggest cities. Actual Results: This definitely discourage people from using the software. Expected Results: Make the life with gweather in Poland easier and spread the use of this piece of software.
Created attachment 27787 [details] [review] It updates the Locations file with many more Polish cities and split the longer list into regions
Thanks for the patch, we will soon look into this! Thanks for your time.
Have you tested the locations ?, using cvs head i keep getting 'updating' even while the page is long before retrieved. Maybe something in the parsing has changed not sure, could you double check it ?
Piotr, Could you redo the patch in the new Locations.xml.in format. The format should be self-explanatory, if not just ask. One thing to note, is that now the Locations can be translated the place names should be entered in "US English". You can then put the polish names into the translation file (gnome-applets/po-locations), or ask the polish translation team to do it for you. What I mean that instead of having an entry for Warszawa that looks like this... <location> <_name>Warszawa</_name> <code>EPWA</code> </location> You would enter <location> <_name>Warsaw</_name> <code>EPWA</code> </location> And in the po-location/pl.po file you would have: msgid "Warsaw" msgstr "Warszawa"
Cities from attachment added to attachment for bug #139820
I'm resubmitting with an attachment that lists the Polish cities from the NOAA list. This adds a couple of cities but isn't as comprehensive as the original list since most of the codes aren't recongnized by the server that gweather is accessing. Piotr -- do you know of some other weather server where those codes are recognized? If so, I'll add some code so that the XML includes the server to access for each city.
Currently I am away from home, sorry for not getting back to you earlier. I had limited network access. I will try to verify once again the cities - I tried few of them and they worked for me. I will verify the infor and resubmit it as XML, when I get back home. I have to check for new servers, right now I don't know any.
This is being fixed with a patch in bug #139820
The patch for bug #139820 only includes those included on the most recent NOAA list: a total of eleven cities, not the sixty listed the first attachment. The remaining locations are still coming back as "unknown" from the server.
Frank's patch is now in CVS.