M4rtinK / modrana

ModRana is a flexible GPS navigation system for mobile devices. This is the main upstream modRana source code repository - waiting for your pull requests & patches! :)
www.modrana.org
GNU General Public License v3.0
67 stars 21 forks source link

Use language from locale when requesting route #257

Open M4rtinK opened 6 years ago

M4rtinK commented 6 years ago

Routing providers supported by modRana might be able to return localized navigation instructions, so we should be able to make use of it.

By default we can use a language based on the current locale, but we should also likely provide an option to both turn this off (eq. return directions in the default language) and to select a custom language from the list of supported languages for the given routing engine.

The best course of action seems to be: 1) forward language from locale & off switch 2) add support for setting custom language per engine