Locale made Global

How to manage multilingual form labels across multiple ChronoForms.

Overview

The problem is that localizing labels individually for each form is inefficient when forms share similar elements.
Use file includes for shared elements like drop-downs by creating separate files and including them in custom elements.

Answered
Pa Paolo.Ferlini 26 Aug, 2014
Hi all,
in my site i've several forms made by CF5.

Several elements in this forms are similar, Dropbox for a specific information, entry fields and so on.

In each form i've inserted the localization so my site is becaming multilingual.

One question: it is possible to have a Global localization so i write once the labels ?

Thanks a lot.

Paolo
Gr GreyHead 27 Aug, 2014
Answer
1 Likes
Hi Paolo,

Not as a built in feature :-(

You can do some parts of this by including files. For example if you have a drop-down that you use in several forms you can put that into a separate file and include it into a custom element like this
<?php
include (JPATH_SITE.'/components/com_chronoforms/includes/file_name.php');
?>

It might be possible to include a locales file but I have never tried and I doubt if it will work.

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