Re: Better default namechooser
"Sidnei da Silva" <[email protected]> Thu, 11 Oct 2007 11:02:05 -0300
| Newsgroups | gmane.comp.web.zope.zope3 |
|---|---|
| Message-ID | <[email protected]> |
On 10/11/07, Christian Zagrodnick <[email protected]> wrote: > Hey, > > I constantly run into the fact that the default namechooser in Zope 3 > is too dumb. > > Does anybody object in making it a little more smart? That is: > > * replace all non us-ascii and otherwise harmful chars by something > useful (base-form or alike) > * replace spaces by - or _ I suggest looking (and using!) at plone.i18n.normalizer, just an 'easy_install' away: http://api.plone.org/Plone/3.0/public/src/plone.i18n/plone/i18n/plone.i18n.normalizer.tests.test_normalizer-module.html -- Sidnei da Silva Enfold Systems http://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214