All,

We're using PloneFormGen 1.7a1 in a multi-lingual Plone 4.0.4 site. While the translation of the UI is generally good, I'm having some issues translating error messages.

For example, I've a field with the "Is an email address" validator, which is pfgv_isEmail in the source. When this validation fails, when using the German language of the site, the user receives a partially translated error message:

"Validierung fehlgeschlagen (pfgv_isEmail): 'test' fails tests of pfgv_isEmail"

As this message looks auto-generated, I've been looking through the PFG source to see if I can see where to translate the latter part of this sentence, but I've come up empty.

I've found the stringValidators in Products.PloneFormGen.config, but it doesn't look like this will help me as the error seems to be missing out the errmsg provided.

Can anyone give me pointers on where to do this?

Mike.

--
0117 909 0901 (ext. 23)
Netsight / www.netsight.co.uk
_______________________________________________
Product-Developers mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-product-developers

Reply via email to