[Zope3-dev] Better default namechooser

Sidnei da Silva sidnei at enfoldsystems.com
Thu Oct 11 10:02:05 EDT 2007


On 10/11/07, Christian Zagrodnick <cz at gocept.com> 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


More information about the Zope3-dev mailing list