I have been working in creating tables in format CSV for the
globalization (G11n), so that they can be used in any project where it
could be necessary or useful.

You can see the tables on:
http://satchmo.python-hosting.com/browser/trunk/satchmo/G11n/data/

And here you have the files for add/integrate them to any Django
project _I also could create them for TG_:
http://satchmo.python-hosting.com/file/trunk/satchmo/G11n/
http://satchmo.python-hosting.com/file/trunk/satchmo/load_G11n.py

Some cool things that can be done with all those data:

* area.csv, phone.csv

We could have validators for phones of each country.
And a drop list with areas for countries where it is necessary for the
potstal address as Canada, Mexico, Italy, etc.

* country-language.csv, timezone.csv

We could use timezone.csv to show to the users its local time according
to its configuration.
With country-language.csv, we also could to know directly the language
and country of the user (using the HTTP header).

* country.csv, language.csv

With those tables we could show to the user a drop list fot that could
choosing those data.

In addition with country.csv we can show the correct name for each
country about the area. The area is the primary subdivision of a
country called state in USA, or province in Canada.
But the best interesting is that instead of have a drop list with all
countries _it's very heavy that a user is looking for a country into a
list of 230+ countries_, we could to have a drop list with the
geographical region. In the first a drop list with continents
(America), then with its subdivisions (Caribbean, Central America,
South America, Northern America), and finally the countries of that
subdivision.

There will be another table about postal codes. And I have compiled all
flags images (SVG format) of all  countries that are in globalization
files.

Now I would that it could to been integrated with TG, because without a
doubt it has many advantages to both the administrators and the users.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to