Hello,
I have to design a search form that will have to display a listing of properties depending on their location ( country, region and city ).
The main issue is the fact that the site will be in several languages which means that all the locations will have to be translated too.
To me, it looks like an impossible task to define in advance all the countries, regions and cities in all these languages.
First question :
Do you think such a library with all the worldwide cities already exists so that I could create an autocomplete field a la within minutes?
I see that cities are all translate in their script.
(ex: Vienna becomes Wien or Vienne depending on what you type).
Second question :
Do you think it would be a good idea to let properties publishers enter the location names themselves in the database? I mean, this would move all the work on their side but it would make it difficult to have an efficient search function since they would propably type the same city with different spellings or worse, with spelling mistakes.
Third question :
I thought that maybe I should try to build a mapplet ( ) that would let users choose an area on a map so that the search form use the coordinates of the map boundaries in order to find stored coordinates that are inside.
Do you think it is feasible? The good thing with that option is that we get rid of the location names in multiple languages/spellings. We only use coordinates.
So, what should I do?
Many many thanks to the ones who will provide me with some helpful advice.
Cheers
I have to design a search form that will have to display a listing of properties depending on their location ( country, region and city ).
The main issue is the fact that the site will be in several languages which means that all the locations will have to be translated too.
To me, it looks like an impossible task to define in advance all the countries, regions and cities in all these languages.
First question :
Do you think such a library with all the worldwide cities already exists so that I could create an autocomplete field a la within minutes?
I see that cities are all translate in their script.
(ex: Vienna becomes Wien or Vienne depending on what you type).
Second question :
Do you think it would be a good idea to let properties publishers enter the location names themselves in the database? I mean, this would move all the work on their side but it would make it difficult to have an efficient search function since they would propably type the same city with different spellings or worse, with spelling mistakes.
Third question :
I thought that maybe I should try to build a mapplet ( ) that would let users choose an area on a map so that the search form use the coordinates of the map boundaries in order to find stored coordinates that are inside.
Do you think it is feasible? The good thing with that option is that we get rid of the location names in multiple languages/spellings. We only use coordinates.
So, what should I do?
Many many thanks to the ones who will provide me with some helpful advice.
Cheers