Hi,

Es sprach Kevin Dangoor:
[localized form widget errors]
> I don't know what the status is, but I do remember that a patch or
> two was sent to Ian Bicking to make FormEncode validators more
> localizable. ...)

The only localizability that I'm aware of is described at

http://www.formencode.org/Validator.html#messages-language-customization

> I believe that's actually all that needs to happen...
> there needs to be a way to use TG i18n lazystrings with validators.

As long as I roll my own validation, write my own validation schema
and so on, this is true. But I can't see how I can pass a 'message'
attribute to validators that are called implicitly in form widgets.
These are not too many (one Bool() and one Int(), if my count is correct),
but nonetheless I'd like to have these localized. What am I missing?

Cheers,
  --Jan Niklas

--~--~---------~--~----~------------~-------~--~----~
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