RasmusKnabe Posted April 30, 2012 Share Posted April 30, 2012 Hi, I'm trying to ad an additional phrase to a module but can't figure out how to do it so it is translatable and is shown in the language files/backoffice translation? - Rasmus Link to comment Share on other sites More sharing options...
Mike Kranzler Posted April 30, 2012 Share Posted April 30, 2012 Hi Rasmus, You can add this text in the .tpl file for that specific module. Just make sure to include the text in the following format to ensure you will be able to translate it using the Back Office translation tool: {l s='your text'} I hope this helps. -Mike 1 Link to comment Share on other sites More sharing options...
RasmusKnabe Posted April 30, 2012 Author Share Posted April 30, 2012 Thanks a lot!!! Acctually new about the syntax but just didn't think it would be so easy as to just ad it to the .tpl file Link to comment Share on other sites More sharing options...
RasmusKnabe Posted April 30, 2012 Author Share Posted April 30, 2012 Is it possible to only include the phrase for a given language? I have tried with this line, but it doesn't seem to work? (I'm running 1.4.5.1) {if $lang_iso == “en”} My text {/if} Link to comment Share on other sites More sharing options...
RasmusKnabe Posted May 1, 2012 Author Share Posted May 1, 2012 Found the solution.. Copy pasted the code and for some reason the to "" in the above code made the problems.. This works: {if $lang_iso == "en"}My text{/if} Thanks again with the help for my first question Link to comment Share on other sites More sharing options...
Mike Kranzler Posted May 1, 2012 Share Posted May 1, 2012 I'm glad I could help! Happy selling! -Mike 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