ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

How to get translation string in php

riccardoc 12 Oct, 2020
Hi,

I'm trying to read a translated value in php, in another thread the answer was:
$this->Parser->parse("{l:MYSTRING}");
but if I add this to my form, changing MYSTRING with a value added to my translation tab, when I open the form I get this error "0 CALL TO A MEMBER FUNCTION PARSE() ON NULL", any suggestion?

Thanks in advance
You need to login to be able to post a reply.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com