longy Posted January 29, 2012 Share Posted January 29, 2012 I'm trying to build a simple module, in italian and english, following this guide: http://doc.prestasho...loper-Guide.pdf I can't translate $message in mymodule_page.php. With strings in mymodule.php i don't have any problem. I've also enabled in tools>preferencies 'Force compile' and added {debug} in mymodule_page.tpl, but in opened popup i don't know what i've to control. If I write: $message = $mymodule->l('Benvenuto al nostro shop!!!'); Translation to this string is correctly showed in en.php file and in tool>translations section, but translation isn't applied in web pages. If I write the same code line with spaces between parenthesis and single quotes: $message = $mymodule->l( 'Benvenuto al nostro shop!!!' ); This string isn't showed in tools>translations, so i can't translate it. Howewer I can't translate this string. Why? Thanks in advance for any reply. 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