Translate Error Messages

Translate error messages in ChronoForms.

Overview

The issue is not knowing the correct shortcode names for different error messages.
Use the {l:shortcode} format in field settings and define each shortcode, like required_error or email_error, in the form's Multi-language area.

Answered
ChronoForms v8
ji jimdd86 29 Feb, 2024
How can i translate the error messages, or the calendar elements, month?
for fields its: {l:.... } but the messages?
Max_admin Max_admin 07 Mar, 2024
You mean messages like "This field is required" ? you just call the translation shortcode in the field settings:

{l:required_error}

and define the "required_error" message in the "Multi language" area in the form settings
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
ji jimdd86 08 Mar, 2024
and how do i know how the other errors are called?
Max_admin Max_admin 09 Mar, 2024
Answer
you just do the same for any text you want to translate:

required_error=This field is required
email_error=An email address is required


Then use {l:required_error} or {l:email_error} anywhere you want
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.