[opencms-dev] Webform error messages and languages

Yves Glodt yg at mind.lu
Wed Jun 3 16:50:13 CEST 2009


Hi Mathias,

I had found these files in the meantime.

But how do I specify workplace-which file is used by the form?

I tried setting the locale and locale-available parameters of the webform as 
well as of form,jsp with no result.

regards,
Yves


On Wednesday 03 June 2009 16:38:28 Mathias Lin | SYSVISION wrote:
> The property files to edit the message are here
> /system/modules/com.alkacon.opencms.formgenerator/classes/com/alkacon/openc
>ms/formgenerator/workplace_xx.properties
>
> After editing and publishing, you need to restart the app so the changes
> take effect.
>
> Bugzilla from yg at mind.lu wrote:
> > I found another message which I am unable to translate:
> >
> > "An error occured while validating the form. Please check the submitted
> > values."
> >
> > On Wednesday 03 June 2009 11:54:45 Yves Glodt wrote:
> >> Hello,
> >>
> >> I have a multi-language website running on OpenCms, is there a way to
> >> change the following strings in the webform module?
> >>
> >>
> >> "This field is mandatory, please fill in a value"
> >> "All fields marked with an asterisk (*) are mandatory."
> >>
> >>
> >> (I need to provide them in en/de/fr/es for now, They seem to be coded in
> >> the webform.
> >>
> >> I could work around the last one by disabling the "Enable mandatory
> >> marks"-
> >> parameter and put the * in the input-label myself, but still, when
> >> submitting an incomplete form I see no way on how to translate the
> >> per-input- errormessages.
> >>
> >> Best regards,
> >> Yves
> >
> > _______________________________________________
> > This mail is sent to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list, please
> > visit http://lists.opencms.org/mailman/listinfo/opencms-dev
>
> -----
> Mathias Lin
> SYSVISION Ltd., China
> http://www.sysvision.com





More information about the opencms-dev mailing list