mrFox Posted May 4, 2010 Share Posted May 4, 2010 Hi,I'm making a template and am wondering how to make a custom multi-lingual header menu? Something like:Home | New Products | Special Offers | Top Products | Contact UsI've done all the css and templating, but can't figure out how to make it handle multiple languages. Have I got to create a module? (seems damn tough to do!), do some database entries? Or is there some simple way of handling this?Please let me know :-) Link to comment Share on other sites More sharing options...
Orhion.ro Posted May 4, 2010 Share Posted May 4, 2010 There are 2 ways for you to do this1. To add a top horizontal menu, this is the easiest way, you can find a lot of top menus, and:2. Add a script into the header, but this means that if you want to add in future some items in the header, you can only do it from header.tpl. I can give you some scripts for this, but only in a few hours, now i am at work Link to comment Share on other sites More sharing options...
mrFox Posted May 5, 2010 Author Share Posted May 5, 2010 Thanks for your feedback.Creatin the menu is simple, the part I'm having trouble with is making it multi-lingual when I click on a flag. I don't know what I need to do. Link to comment Share on other sites More sharing options...
rocky Posted May 6, 2010 Share Posted May 6, 2010 You just need to write code like the following in your header.tpl or wherever you have put the menu code in your theme: {l s='Home'} This will add the text 'Home' and make it translatable under Tools > Translations > Front Office translations. Link to comment Share on other sites More sharing options...
mrFox Posted May 6, 2010 Author Share Posted May 6, 2010 Excellent! Thank you SO much! :-) Link to comment Share on other sites More sharing options...
rocky Posted May 6, 2010 Share Posted May 6, 2010 If your issue is resolved, please edit your first post and add [sOLVED] to the front of the title. Link to comment Share on other sites More sharing options...
mrFox Posted May 6, 2010 Author Share Posted May 6, 2010 Done, thanks 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