WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a projects that needs a homepage similar to this one. I know there are many multi-language plugins out there. Here's exactly what I need:

  if isHomepage and noLanguageSeleted
     show selection page
     show the actual page content in the sleeted language.
     show all the links and menus in the selected language.

How and with the help of what plugin would you achieve this?


share|improve this question

closed as off-topic by Pieter Goosen, cybmeta, birgire, gmazzap, Mark Kaplun Nov 28 '14 at 18:00

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

One solution I might think of is having a javascript code check to see if the user has selected a language. If not, show the selected language page on top of the current page. I'm not sure with what plugins this might work. – Agilius Mar 24 '12 at 5:54
up vote 0 down vote accepted

The absolute best plug in for this is WordPress Multi Lingual (WPML). I have used this on multiple sites, it works like a charm!.. and it provides excellent documentation for custom theme builders :)

Are you using a free theme? a paid premium theme? or are you building you own theme? If you are building your own you need to make sure the theme uses the GetText wrapper on all strings.

This plugin is not free, but it is absolutely worth the price! this plugin saves you allot of hassle. Plus you get unlimited updates.

share|improve this answer
Thanks for your response. I'm actually using themeforest.net/item/noblesse/149535 as the base theme. All I need to do is add the plugin in my site, and make some cosmetic changes to it. The biggest change would be the actual language chooser page. Do you have any hints on how to achieve this using WPML? – Agilius Mar 24 '12 at 18:43
If you use the WPML plugin you basically need to point them to the other language URL and they will see your page in that language until they choose another one. You can also choose to include a link to other languages at the bottom of each page at the page/post you are on. In the plugin settings you choose if you want a separate domain for each language or just example.com/en for English and example.com/no for Norwegian. So you could just write a normal WordPress page and link them to the different versions with big buttons. Or make a custom page template :) – Ole Henrik Skogstrøm Mar 24 '12 at 20:30
Also the theme looks perfect for WPML :) – Ole Henrik Skogstrøm Mar 24 '12 at 20:30
Did my answer work for you? If so, can you please accept it? :) – Ole Henrik Skogstrøm Mar 25 '12 at 14:31
I was busy with other things, but yeah, this answer helps. I think I know what I need to do. I don't really need the WPML plugin, but redirecting would be the right way to do it in general. – Agilius Mar 26 '12 at 5:26

Not the answer you're looking for? Browse other questions tagged or ask your own question.