On 10/16/06, GinTon <[EMAIL PROTECTED]> wrote: > > 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. > that's interesting. We already have a mecanism similar for i18n maybe it can piggyback on that for internal user.
> 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 for countries where it is necessary for the potstal > address as Canada, Mexico, Italy, etc. > I think the best way to add this will be directly on formencode so they will be available for everyone. > * 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. > I can see that as a nice std. widget It could be an extension of the dropdown widget, or maybe one of the ajax widgets. > 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. > again a good widget. > I would that it could be 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 -~----------~----~----~----~------~----~------~--~---

