GNOME Bugzilla – Bug 325573
Default location should depend on location code only
Last modified: 2010-01-24 01:07:37 UTC
Currently, the default location for different localisations comes from several strings that the translator has to make sure they all have sensible values. Specifically, see http://mail.gnome.org/archives/gnome-i18n/2005-December/msg00157.html The messages are DEFAULT_CODE, DEFAULT_LOCATION, DEFAULT_RADAR, DEFAULT_ZONE, DEFAULT_COORDINATES. As gweather already knows the full set of these values due to Locations.xml, then simply providing the DEFAULT_CODE should be enough to traverse the tree and find the rest of the information (name, coordinates, etc). This would simplify the work of localisers to simply provide the correct airport code.
Bug #158630 was meant to cover this, but the description was somewhat sucky. It has been updated, thanks Simos. *** This bug has been marked as a duplicate of 158630 ***