Jump to content

Translation in new module


Recommended Posts

I have a small issue:
I have created a very basic module and want to translate some text...
So in the xxx.tpl I edited the text to {l s='Text to translate' mod='blockxxx'}, then I went to BO and found "Text to translate" and translated it to Swedish.
However the English text is displayed no matter what language i choose.
So I kind of wonder if the .tpl file is aware of what language is choosen, or do I have to put something in the .php file?

Edit: So sorry, everything works. I was misunderstanding the code for a widget I included.


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