Hi. We are looking to create a java class that the user can key a zip code and the correct city/state information will come back. We would like this to work for all of the countries. Does anyone know of any good databases that hold all of this information?? Thanks for the help!
Do you mean, entering one code will tell you where in the world this location is? - or would you run a different version for each country? Not all countries use zip/postal codes to cover their entire region.
Joined: Feb 28, 2001
I was thinking depending on the country chosen, it would determine if a zip code was required or not. Which brings up another question, what's the easiest way to find out which countries have zip codes, and which ones don't? I'm kinda new at this stuff. I've never worked with internationalization before. Thanks for the help
Joined: Mar 15, 2000
It's not a very scientific method but you could try searching for post office websites for the countries you're interested in. 'German Post Office', 'Irish Post Office' etc.
You might also be interested to know that some countries use alpha-numeric codes rather than just numbers and the location of the code in the address varies as well, (sometimes it is at the top). If you really want to give your users a 'local' experience you might have to consider this in your gui design ;->