Translation of error messages

fwm 19 Nov, 2023
Hello,

How can I translate the following error messages?
- This field is required.
- A valid email address is required.

Thanks!
rbock 19 Nov, 2023
I am modifying some PHP files. This way I don't have to adjust this for every field in all forms. Maybe Max will add a global option for this again, like in CF7.
Max_admin 19 Nov, 2023
Answer
Form > settings > Locales

Add language (en-GB, de-DE, it-IT...etc), then use {l:string} as your error message

example, if you enter the following in the language box:
string=This is required

then use {l:string} in the field settings
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
You need to login to be able to post a reply.

VPS & Email Hosting 20% discount
hostinger