component: core | priority: minor | keywords: i18n, config, xml
2010-11-10 05:25:44: korrosa created the issue
So recently it's emerged that you can configure navit.xml to change the locale of Navit, forcing it to use a language and country which you've set. This is currently done in the config tag:
<config ... language="en_GB">
This will force Navit to use the English translation, and also to set the active country to Great Britain (for town/street searches, etc).
Problem: language means language, however the attribute holds both a language and a country. Without documentation, it's not clear what value to assign to this attribute. In theory, you can have:
<config ... language="en_FR">
...so that Navit will use the English translations, but set France as the active country.
Country may also be called territory. Personally, country is an easier concept, and easier to translate, though doesn't always map well (i.e. GB isn't really a country!)
Replace the language attribute with locale:
<config ... locale="en_GB">
Use of the word "locale" means people should understand that it will require a value with both language and country.
Issue migrated from trac ticket # 693
component: core | priority: minor | keywords: i18n, config, xml
2010-11-10 05:25:44: korrosa created the issue