translation multilanguage

mdma 18 Aug, 2015
Hello,
I know there is locale settings,
but in custom php or js would this be a working solution for CF5 hooking into languages?

<?php

            $lang = JFactory::getLanguage();
            $lang_code = $lang->getTag();
            $lang_name = $lang->getName(); 

?>


var lang = document.getElement('html').getProperty('lang');
GreyHead 19 Aug, 2015
Hi mdma,

I've just replied to a very similar question from you in another thread. What exactly do you need to do?

Bob
mdma 20 Aug, 2015
Answer
Helpful Tutorial for multilanguage custom code
if needed to translate more than little text fields(locales).

http://www.chronoengine.com/faqs/2669-how-can-i-translate-emails.html
This topic is locked and no more replies can be posted.