localized address form

View: New views
5 Messages — Rating Filter:   Alert me  

localized address form

by Anton Visser-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello everyone, I would like to find out if anyone has created a dynamic
address form, that changes based on country selected, using the
ZF_locale?  

To be more specific, the form would change the fields and which ones are
required, based on country selected.  For instance, Ireland doesn't have
a postal/zip code.

Google checkout does this, but that would be lots of work to reverse
engineer.

cheers,
Anton





Re: localized address form

by thomasW :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Several data exist already pre-translated through the getTranslationList()
methods.
These are for example country, language and several others.

But you will not find data like zip code in there because this is no data
which has to be translated.
The zip code 1234 is always 1234 in every language. :-)

Also to mention that these codes are not static. They cange from time to
time. What google does is buying this information from companies which are
specialized in collecting such data. The same is dome for IP adresses for
example.

This is the reason why you will not find complete data anywhere for free.
There are several free databases which claim to support xx%... it's just a
matter of how perfect you need your data.

Greetings
Thomas Weidner, I18N Team Leader
http://www.thomasweidner.com

----- Original Message -----
From: "Anton Visser" <anton.visser@...>
To: <fw-i18n@...>
Sent: Tuesday, March 25, 2008 5:12 PM
Subject: [fw-i18n] localized address form


> Hello everyone, I would like to find out if anyone has created a dynamic
> address form, that changes based on country selected, using the
> ZF_locale?
>
> To be more specific, the form would change the fields and which ones are
> required, based on country selected.  For instance, Ireland doesn't have
> a postal/zip code.
>
> Google checkout does this, but that would be lots of work to reverse
> engineer.
>
> cheers,
> Anton
>
>
>


Re: localized address form

by Anton Visser-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Thomas, any idea on where Google bought there data from?



On Tue, 2008-03-25 at 17:23 +0100, Thomas Weidner wrote:

> Several data exist already pre-translated through the getTranslationList()
> methods.
> These are for example country, language and several others.
>
> But you will not find data like zip code in there because this is no data
> which has to be translated.
> The zip code 1234 is always 1234 in every language. :-)
>
> Also to mention that these codes are not static. They cange from time to
> time. What google does is buying this information from companies which are
> specialized in collecting such data. The same is dome for IP adresses for
> example.
>
> This is the reason why you will not find complete data anywhere for free.
> There are several free databases which claim to support xx%... it's just a
> matter of how perfect you need your data.
>
> Greetings
> Thomas Weidner, I18N Team Leader
> http://www.thomasweidner.com
>
> ----- Original Message -----
> From: "Anton Visser" <anton.visser@...>
> To: <fw-i18n@...>
> Sent: Tuesday, March 25, 2008 5:12 PM
> Subject: [fw-i18n] localized address form
>
>
> > Hello everyone, I would like to find out if anyone has created a dynamic
> > address form, that changes based on country selected, using the
> > ZF_locale?
> >
> > To be more specific, the form would change the fields and which ones are
> > required, based on country selected.  For instance, Ireland doesn't have
> > a postal/zip code.
> >
> > Google checkout does this, but that would be lots of work to reverse
> > engineer.
> >
> > cheers,
> > Anton
> >
> >
> >
>
--

Anton Visser | Lead Developer
anton.visser@...
615.371.5119 ph  |  615.777.5119 fax

echo  |  Hello. Hello.  |  helloecho.com

The information contained in this message is intended only for the use
of the individual or entity named above. If the reader of this message
is not the intended recipient, or the employee or agent responsible for
delivering it to the intended recipient, you are hereby notified that
any dissemination, distribution, or copying of this communication is
strictly prohibited.

Re: localized address form

by RyanBrooks :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I'd be interested in knowing about such resources as well.



On Tue, 25 Mar 2008 11:26:56 -0500, Anton Visser <anton.visser@...> wrote:

> Thanks Thomas, any idea on where Google bought there data from?
>
>
>
> On Tue, 2008-03-25 at 17:23 +0100, Thomas Weidner wrote:
>> Several data exist already pre-translated through the
> getTranslationList()
>> methods.
>> These are for example country, language and several others.
>>
>> But you will not find data like zip code in there because this is no
> data
>> which has to be translated.
>> The zip code 1234 is always 1234 in every language. :-)
>>
>> Also to mention that these codes are not static. They cange from time to
>> time. What google does is buying this information from companies which
> are
>> specialized in collecting such data. The same is dome for IP adresses
> for
>> example.
>>
>> This is the reason why you will not find complete data anywhere for
> free.
>> There are several free databases which claim to support xx%... it's just
> a
>> matter of how perfect you need your data.
>>
>> Greetings
>> Thomas Weidner, I18N Team Leader
>> http://www.thomasweidner.com
>>
>> ----- Original Message -----
>> From: "Anton Visser" <anton.visser@...>
>> To: <fw-i18n@...>
>> Sent: Tuesday, March 25, 2008 5:12 PM
>> Subject: [fw-i18n] localized address form
>>
>>
>> > Hello everyone, I would like to find out if anyone has created a
> dynamic
>> > address form, that changes based on country selected, using the
>> > ZF_locale?
>> >
>> > To be more specific, the form would change the fields and which ones
> are
>> > required, based on country selected.  For instance, Ireland doesn't
> have
>> > a postal/zip code.
>> >
>> > Google checkout does this, but that would be lots of work to reverse
>> > engineer.
>> >
>> > cheers,
>> > Anton
>> >
>> >
>> >
>>
> --
>
> Anton Visser | Lead Developer
> anton.visser@...
> 615.371.5119 ph  |  615.777.5119 fax
>
> echo  |  Hello. Hello.  |  helloecho.com
>
> The information contained in this message is intended only for the use
> of the individual or entity named above. If the reader of this message
> is not the intended recipient, or the employee or agent responsible for
> delivering it to the intended recipient, you are hereby notified that
> any dissemination, distribution, or copying of this communication is
> strictly prohibited.


Re: localized address form

by Alexander Brausewetter :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

There's a couple of pages with information about international addresses, for example

http://bitboost.com/ref/international-address-formats.html
http://www.bspage.com/address.html

You might be able to construct your own settings from these.

Also have a look at companies the create software for address normalization and parsing, such as http://www.addressdoctor.com/

Last but not least you could look for info at the postal services, for example http://tinyurl.com/2u3em8

Best,
  Alex

On Tue, 2008-03-25 at 11:26 -0500, Anton Visser wrote:
Thanks Thomas, any idea on where Google bought there data from?



On Tue, 2008-03-25 at 17:23 +0100, Thomas Weidner wrote:
> Several data exist already pre-translated through the getTranslationList() 
> methods.
> These are for example country, language and several others.
> 
> But you will not find data like zip code in there because this is no data 
> which has to be translated.
> The zip code 1234 is always 1234 in every language. :-)
> 
> Also to mention that these codes are not static. They cange from time to 
> time. What google does is buying this information from companies which are 
> specialized in collecting such data. The same is dome for IP adresses for 
> example.
> 
> This is the reason why you will not find complete data anywhere for free.
> There are several free databases which claim to support xx%... it's just a 
> matter of how perfect you need your data.
> 
> Greetings
> Thomas Weidner, I18N Team Leader
> http://www.thomasweidner.com
> 
> ----- Original Message ----- 
> From: "Anton Visser" <anton.visser@...>
> To: <fw-i18n@...>
> Sent: Tuesday, March 25, 2008 5:12 PM
> Subject: [fw-i18n] localized address form
> 
> 
> > Hello everyone, I would like to find out if anyone has created a dynamic
> > address form, that changes based on country selected, using the
> > ZF_locale?
> >
> > To be more specific, the form would change the fields and which ones are
> > required, based on country selected.  For instance, Ireland doesn't have
> > a postal/zip code.
> >
> > Google checkout does this, but that would be lots of work to reverse
> > engineer.
> >
> > cheers,
> > Anton
> >
> >
> > 
> 
LightInTheBox - Buy quality products at wholesale price