ChronoEngine.com homepage

Forums

How to get translation string in php

R
riccardoc posted Oct 12, 2020 at 09:31
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