Opened 7 years ago

Last modified 11 months ago

#999 new enhancement/feature request

Default country selected in town search should be dynamic

Reported by: me.yahoo.com/a/t8pxanggmzrce9fscf2wgwk_ozmtbyifgarr#f3b4e Owned by: KaZeR
Priority: major Milestone: version 0.5.2
Component: core Version: git master
Severity: Keywords: map, i18n, ui
Cc: sebastian.leske@…

Description

  • Navit version: navit-svn-4879
  • Device: Samsung Galaxy Tab P1000
  • OS: Android 2.2
  • latest map from planet extractor

Go to Menu -> Actions -> Town

Default country selected is static: US. This should be improved. Default country selected here should be the country where the the vehicle is currently positioned. Or when the position is not available, we should use the country from the last known vehicle position.

Ciprian Alexan.

Change History (6)

comment:1 Changed 7 years ago by korrosa

For extra info: note that the default country is set using the locale of your device - it does not simply default to the US. To force a different country without changing the locale of your device, use the language attribute in the config tag within navit.xml, as described at http://wiki.navit-project.org/index.php/Configuring_Navit/Full_list_of_options.

I agree though that it would be a cool feature to set the default country using the vehicle position. As long as it doesn't change the language of the Navit menus though!

comment:2 Changed 7 years ago by sleske

There was a long discussion about this in #439. There, some people pointed out that you do not necessarily want the country where you currently are, as you might be using Navit to plan a trip somewhere else.

An alternate solution would be for the search dialog to remember the last country setting - usually you keep using the same country (either the one where you are, or the one where you are planning a trip).

Maybe I'll work on this at some point...

comment:3 Changed 7 years ago by sleske

  • Cc sebastian.leske@… added

comment:4 Changed 5 years ago by usul

  • Keywords map i18n ui added
  • Milestone set to version 0.5.1

Another aspect would be to preselect the current locale. Because in most cases, you search for places in your mother language.

Anyway, I saw people very often to be confused that they need to do the (right) selection here to get results. As this creates a lot of support for a very basic function, this has to be fixed ASAP -> scheduled to hotfix.

comment:5 Changed 5 years ago by sleske

"scheduled to hotfix" is easier said than done :-). The problem is that it's not clear how to solve this.

I see two issues here:

  1. the default country selection should be reasonable
  2. it should be obvious how to change country if the default is not right

At the moment, both points are problematic.

The default is based on the locale, which is not necessarily what you want. At the moment, I think the best solution is to just remember the last selection. That is what will work in most cases (as few people navigate to a different country each time). The locale default can remain for the first start of Navit, when there's no previous selection.

The other problem is that apparently it's not obvious how to change country. The flag icon looks like an indicator; it's not obvious that it can be clicked. We should think about a better GUI here. That is probably a separate ticket...

comment:6 Changed 11 months ago by http://wiki.navit-project.org/index.php/user:jkoan

  • Milestone changed from version 0.5.1 to version 0.5.2

This ticket was pushed back in order to bring 0.5.1 out soon.

Note: See TracTickets for help on using tickets.