How to control the validation language

Hi,

I installed Formit and I install MODx in french.
Everythings seems to be infrench.

When I send my formular, there is french message for the empty field, but I aslo have that message:

A form validation error occurred. Please check the values you have entered.

I am a bit surpise to have it in english.

Then I went to Setting ->Lexique and filter all entries by ‘formit’. Additional, I can filter by english or french

When I filter by french, as show above, I can see that some has not been translate, but it does matter. My problem, I can not find the text

A form validation error occurred. Please check the values you have entered

then I can not translate it. Then, where is it? :slight_smile:

Cheers

Use the property &validationErrorMessage to define the error message.


It’s here in the code. But don’t change it in the file. Use the corresponding property.