Jump to content

[SOLVED] - Translation page - words missing


Kicsihun

Recommended Posts

Hello!
I have developed a Layered Navigation module, but some of the words I need to translate for it, won't show up at the Translation tool.
The words from the module's __construct function and .tpl file are visible, but the other words I'm using in the module's functions aren't listed.
e.g.:

function getFilteredCategory($filters)
   {
       /*some code*/
       $return = $this->l("Category");
       return $return;
   }



In this case the "Category" word isn't showing up at the Translation tool.
What might be the problem?

Thanks!

Link to comment
Share on other sites

I couldn't find the root of the problem, but I guess it had to do with regular expressions. Prestashop detects the words for translations using regular expression, probably there was some problem. Eventually I've put all the words in the __construct method of the module.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...