Hy Simon,

Several Data is provided through Zend_Locale:

See
Zend_Locale->getTranslationList('territory');
and
Zend_Locale->getTranslationList('territory_detail');
for actual provided informations about country-groups.

Key is ISO Code, Value is translated name.

Actualy we can only provide informations which are included within CLDR which is from the unicode consortium. We tend to include always the latest version as it is growing 2 times a year.

The problem with other data is, that it is not complete and not prooved.
As we have to provide data for more than only one language we can not simply add a single file.

But you are free to provide an jira issue is something is not complete for you are missing data.

Related to the ISO-list... we are not allowed to include data which is provided from an external source and is not free. You have to pay for the data from ISO and then you are the only one who can include it.
This is the reason why we can not include the mentioned ISO list ourself.

Greetings
Thomas
I18N Team Leader



----- Original Message ----- From: "Simon R Jones" <[EMAIL PROTECTED]> To: "'ZendFramework General'" <[email protected]>; <[EMAIL PROTECTED]>
Sent: Tuesday, July 31, 2007 7:19 PM
Subject: [fw-i18n] ISO Country lists / groups


Is there any functionality to create lists of countries based on the ISO
country list at present, or any plans to do so?

E-Commerce sites we work on tend to require this rather long list of
countries, ideally trimmed down to the relevant countries, when customers
enter their address.

Another requirement is when calculating postage we group countries into
regions like UK, Europe, or Rest of World. Certain preset groups exist,
though the ability to create your own country groups is very useful.

If this doesn't exist at present I'd be interested in working on this. Any
thoughts on where it should reside. Or is this more the case of extending
Zend_Locale ?

The ISO list is available at:
http://www.iso.ch/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/inde
x.html
And geographical regions at:
http://unstats.un.org/unsd/methods/m49/m49regin.htm

best wishes,
Simon


Reply via email to