GNOME Bugzilla – Bug 161882
Translator comments for all entries in Locations.xml.in
Last modified: 2010-01-24 01:06:45 UTC
The entries in Locations.xml.in should all have a comment intended for translators, giving some basic context. This is because when I as a translator translate a name, say "Buhasa", I otherwise have no other useful context in the po file. If I know what country the name belongs to, my chances of getting that "oh, this is *that* city, and I know it's spelled that other way in my language" becomes very much larger. Otherwise it's just any random americanized spelling of name of any place that could be anywhere in the world, which leaves me little (in fact, none at all) clue at all of what location it is (without having to actually double check in Locations.xml.in itself, but I for sure don't want to do that 3000 times when I translate the po file, and I expect this is true for most other translators). So in the general case, you would have this: <location> <!-- Location code: OMAB. Country: United Arab Emirates. --> <_name>Buhasa</_name> <code>OMAB</code> <coordinates>23-37N 053-23E</coordinates> </location> And in the case the location is in a city, you would have this: <city> <_name>Monterrey</_name> <location> <!-- Location code: MMAN. City: Monterrey. Country: Mexico. --> <_name>Aeropuerto del Norte</_name> <code>MMAN</code> <coordinates>25-52N 100-14W</coordinates> </location> </city> Could this be added? Since the gweather locations are such a huge workload for translators, it would be good if these comments could be added as soon as possible, to assist translators when translating these entries.
This should be done; assigning bug.
Created attachment 56772 [details] [review] Translator comments for Thailand.
Looks clean. Commit to HEAD. Thanks.
Patch committed.
Closing this report then.
Kjartan, I don't think we have 100% coverage yet. So this shouldn't yet be closed.
Created attachment 65106 [details] [review] Translator comments for Brazil Added translator comments for Brazil. Question: I think these comments could be generated automatically. Do you think it is worth making a script to do it ? (I can do this if you think it is a good idea) (note: found this bug through gnome-love).
This doesn't commit cleanly. Yes, you're right, this could be done with a script. A script would be most welcome.
autogenerated comments will be added as part of bug 527592 *** This bug has been marked as a duplicate of 527592 ***