Hi All, I've talked a few times about enhancing the TG i18n-support. Now I finally had time to produce a first patch for the current 1.0-trunk. It should apply to 1.0.2, too.
See ticket #1405 (http://trac.turbogears.org/attachment/ticket/1405) for an overview & the necessary files/patches. The enhancements/fixes are essenitally these: 1) make DateValidation take format as a callable. That was missing andp revented locale-dependend date parsing/formatting 2) collect strings from KID-templates in the same way the KID-i18n-filter treats them and thus make them subject to i18n. 3) collect strings from JS-files and create message-catalogs for JS which are automatically included using a standard-widget. Please review & discuss. Regards, Diez --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---

