opencart - How to add variable in language file opencart2 -
i trying add variable in language file using opencart extension, there no change in file.
my code:
<file path="admin/language/english/catalog/product.php"> <operation> <search><![cdata[// error]]></search> <add position="before"><![cdata[ $_['entry_a_start_date'] = 'start date/time'; ]]> </add> </operation> </file>`
please let me know wrong code.
thanks in advance
when want call single file use name
not path
.
this should work:
<file name="admin/language/english/catalog/product.php"> <operation> <search position="before"><![cdata[// error]]></search> <add><![cdata[ $_['entry_a_start_date'] = 'start date/time'; ]]> </add> </operation> </file>
Comments
Post a Comment