From: Gerald B. <ger...@gm...> - 2006-12-07 19:00:37
|
How about some smarts in the interface itself. e.g. if the country is UK, England, Wales, Scotland, Ireland, got to maps.google.co.uk; if France, go to .fr, if Canada go to .ca etc. If not matched default to maps.google.com. That way we can steadily add to the list as more regional sites come online. On 12/7/06, Zsolt Foldvari <zso...@no...> wrote: > > So, could this be localized? France would have maps.google.fr, ... . The > > translators could take care of that with a variable: > > local_googlemaps_webpage = _(maps.google.com) > To tie the map version (i.e. *.nl, *.co.uk) with a certain language is > not a good idea I think, because the chosen locale doesn't necessary > have to do anything with the places in a database. E.g. one can live in > the US using en_US and have ancestors from places in Europe. > > I actually like the idea of the drop down button. Something like the > Open button... One can choose from the list, but also choose the default > clicking directly on the button. As next step we could make the default > custom, via Preferences... > > Objections??? > > Cheers, > Zsolt > > > ext Gerald Britton wrote: > > I have places in Canada, the US and the UK among others. UK places > > are often not found on maps.google.com, but *are* found on > > maps.google.co.uk. Any thoughts on how the interface should choose > > the correct maps site to query? > > > > On 12/7/06, ben...@ug... <ben...@ug...> wrote: > >> Zsolt, > >> > >> I added the devel list, as I have a localisation issue with google maps. > >> > >> > Hi Benny, > >> > > >> >> It should be a small change to make that if lat and lon are given: > >> >> show lat/lon on google maps else: if address is given: pass that to > >> >> google maps, else: pass description to google maps > >> > Browsing through old dev mails I've found your suggestion above. > >> > Yesterday I committed a change to gramps, which is actually very > >> > similar to that. The logic now is: coordinates if given, city plus > >> > country of main location if both given, then description. > >> > > >> > How do you think the address should be included in the logic? I would > >> > do like this: city and country must exist, other address details > >> > added optionally if given. I've got no experience with googlemap > >> > search, do you hava an idea how the final search string should look > >> > like? > >> > >> For america and some countries street and streetnumber can be given, eg: > >> 'Nieuwendijk 10, amsterdam, nederland' > >> or > >> '10 Nieuwendijk, amsterdam, nederland' > >> However, this does not work in all countries. Fortunately you are then > >> normally > >> directed to a page with the option to only see the city. So I assume > >> street can > >> always be added to the city, country data, making the logic: street, > >> city, > >> country > >> > >> However, I do have a localization problem. I write my place names in > >> dutch, not > >> english, so Belgie, not Belgium. However, Belgie is not recognized on > >> maps.google.com, it is only recognized on maps.google.nl. > >> Eg search on 'Gent, Belgie' in both webpages. > >> > >> So, could this be localized? France would have maps.google.fr, ... . The > >> translators could take care of that with a variable: > >> local_googlemaps_webpage = _(maps.google.com) > >> with an explenation section for the translator (forgot now how to do > >> that with > >> gettext). Is this a good idea? > >> > >> Alternative is a drop down button where you can choose the googlemap > >> webpage, > >> but there was little enthousiasm for that during a previous > >> discussion (and > >> nobody wanting to implement it). Should you be in a programming > >> frenzy, you > >> could try that however ;-) > >> > >> Benny > >> > >> > > >> > Cheers, > >> > Zsolt > >> > > >> > >> > >> > >> ---------------------------------------------------------------- > >> This message was sent using IMP, the Internet Messaging Program. > >> > >> > >> ------------------------------------------------------------------------- > >> > >> Take Surveys. Earn Cash. Influence the Future of IT > >> Join SourceForge.net's Techsay panel and you'll get the chance to > >> share your > >> opinions on IT & business topics through brief surveys - and earn cash > >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > >> > >> _______________________________________________ > >> Gramps-devel mailing list > >> Gra...@li... > >> https://lists.sourceforge.net/lists/listinfo/gramps-devel > >> > > > > |