Jump to content

All custom translations in module


-=peter=-

Recommended Posts

Hello. I'd like to put all my custom translations under single module, so it's easy to deploy. So I created the module (say trmodule), added it to the displayHeader hook and in the templates used {l 'my text' mod='trmodule'}. (to be more precise {addJsDefL name=myText}{l s='my text' mod='trmodule'}{/addJsDefL}

I'd like to point out here, that the module doesn't have it's own tpl file.

 

Problem is, that in the BO translations I see the line

my text' mod='trmodule

(note the quotes) and also the translation doesn't work.

 

What I'm doing wrong?

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...