albos Posted February 13, 2009 Share Posted February 13, 2009 Hi, I use a theme and in header.tpl there is a menu code Ana sayfa hakkimizda yeni ürünler İndirimdekiler sik sorulanlar iletişim I want this codes language to change when change the website language ( as footer links )not : I am going to use this website in turkish and englishthank you Link to comment Share on other sites More sharing options...
Atch Posted February 13, 2009 Share Posted February 13, 2009 you can go in your Back office / Tools / Traductions / header.Normaly you have possibility but for this you must use Smarty code.exemple : ></pre> <ul> {l s='Home'} {l s='Specials'} {l s='New products'} {l s='Top sellers'} {l s='Contact us'} V++Atch Link to comment Share on other sites More sharing options...
albos Posted February 13, 2009 Author Share Posted February 13, 2009 i could not find / Tools / Traductions / header :S Link to comment Share on other sites More sharing options...
hieloiceberg Posted February 13, 2009 Share Posted February 13, 2009 The most important is to change this Specials To this:{l s='Specials'} And remember by default English is your number 1 language, and if you want any hardcore code to be translated it always have to be inside this: {l s='Your_word'} Now the beauty is the Prestashop automactly will create a section where you will do the translation for example since you are using this at your header.tpl you will find the section to translate in:Back Office >> Tools >> Translations and from there choose "Front office translations" and you should have an section call:header - 5 expressions or some thing similarand if you for example add something extra at any module you will find it at "Modules translation" 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