Kicsihun Posted August 17, 2010 Share Posted August 17, 2010 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 More sharing options...
Kicsihun Posted August 20, 2010 Author Share Posted August 20, 2010 Help please! Link to comment Share on other sites More sharing options...
presta-dyr Posted August 21, 2010 Share Posted August 21, 2010 I can see you have put [sOLVED] in the subject. Can you please write a few words about what you discovered when you solved the problem?/Kjeld Link to comment Share on other sites More sharing options...
Kicsihun Posted August 26, 2010 Author Share Posted August 26, 2010 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now