Localized message

hw hwsassisi 13 Dec, 2025

Dear all,

after a submit, in a message I would like to include a localized message containing some data from form.For instance, if the localized message is "GREETINGS=Dear {data:customer_name}, thank you for your message" and if I have a field "customer_name", I expect that the message will display the name of the customer in the greeting message.

Unfortunately, it seems that the content of the fields are not used to compose the localized messages.

How to solve?Regards

Max_admin Max_admin 14 Dec, 2025
Answer

Hi

Having shrotcodes in Locales strings is not in the last update, but I have added it to the next update.

You will be able to have this Locale string:

Localized message image 1

then use this as your message:

Localized message image 2

Each %s will be replaced by a parameter to the {l:} shortcode

This is also explained here:

https://www.chronoengine.com/faqs/chronoforms/chronoforms8/how-to-translate-your-form-to-multiple-languages

P.S: if you are subscribed to the newsletters then you should get notified by email when the new update is ready.

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
hw hwsassisi 14 Dec, 2025

Thank you very much Max,

is it possible to add more than 1 parameter? For instance

{l:GREETINGS {data:first_name} {data:family_name}}

with localized text

GREETINGS=Dear %s %s, thank you for your message

?

Regards

Max_admin Max_admin 14 Dec, 2025

Yes, that will be possible.

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Post a Reply