Forums

Multi-language forms working without option "Locales"

entumas 26 Jul, 2017
Hi guys!

I have several multi-language forms working with the tab option "Locales" for multilanguaje purposes
But I have noticed that several of these forms share many terms to translate
Is there another way of translating multi-language forms, in which forms can share terms?

Thanks!
GreyHead 27 Jul, 2017
Hi entumas,

If I remember correctly the Locales boxes allow PHP so you can include a language file into them - you could try that on a test form and see if it will work.

Bob
entumas 10 Aug, 2017
Could you tell me how to do it Bob?

Sounds like I read an article of yours explaining how to do it, but I could not find it again and Professor Calculus00 didn't tell me this time

Thanks
GreyHead 11 Aug, 2017
Hi entumas,

I use code like this to import files into ChronoForms v5 actions:
<?php
include (JPATH_SITE.'/components/com_chronoforms5/extras/locales/locale_file_name.php');
?>

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