Forums

How to get validation advice in another language ?

ogirard 28 Mar, 2008
What can I do to get the validation advice in French instead of English ? In which file can I find the advices phrases in order to translate them in French ?

Thanks in advance for your help.

Best wishes.
Olivier
ogirard 28 Mar, 2008
No need to answer. I've just found the java scripts in the directory "com_chronocontact>js". The file mooValidation.js contains the advices.πŸ™‚

Olivier
pmarty 05 Apr, 2008
Hi Olivier,

Thanks for your post, that's exactly what I was searching forπŸ™‚
And do you know a way to build language files for those validations, in order to make it work for a multilanguage website ?

Thanks for your help.
Philippe
GreyHead 07 Apr, 2008
Hi Philippe,

There's no easy way of doing this at present. I'm sure it's possible to extract the language from the JavaScript file or to have different js files for each language. Not pretty but very possible.

Bob
This topic is locked and no more replies can be posted.