Performancing Metrics

Publish Your Blog In Multiple Languages With WPML Plugin For WordPress

wpmlMany people want to publish their blog in different languages or offer translations to their readers. Often a translation plugin is used offering automated translation via Google Translate or Babelfish. But if you speak/write several languages you can use the WPML plugin to publish your blog in several languages, and if you want to have each language on a separate (sub)domain.

The great thing about WPML is the ease to set the plugin up and stat using it, contrarily to other plugins. All you need to do is upload the plugin and fill in the settings.

Configuring WPML

WPML Settings 1

The first settings panel after activating the plugin allows you to set the main language, this is the language an entry will be published in if you do not select an other language for that post. Note that this setting will not change the language of your WordPress admin backend, you still need to localize your WP install for this (more info on localization at the WordPress codex).

wpml-2

When using the basic settings, you now only have to opt what other languages you want to add to your site. Once you have selected the additional languages you only have to decide where you want the widget with the language switcher. If your theme does not use widgets, use <?php do_action('icl_language_selector'); ?> in your theme. You can customize the display/colors of the language selector in the advanced settings.

Now your site is prepared to deal with multi-lingual content.

Publish Different Languages On Different Subdomains Or Domains

With WPML it is easy to set your blog up to display every language on a sub-domain or different domain for other language content. To set this up you must dive in the ‘Advanced settings’. The settings to make or change are rather obvious and self-explanatory and the plugin provides ample information when a setting can not be made (see second screenshot)

wpml-3

wpml-4

Adding sub-domains or new domains for other languages is simple. Note that these must have been setup prior to configuring WPML as WPML does not change any DNS entries. If you have not set the domains up, uncheck ‘Validate on save’. Tip: first set your (sub) domains up. ;)

wpml-5

Publishing Your Blog In Several Languages

Whenever you write an entry you can now select in what language this post has to be published and WPML will do the hard work for you. If you have a look at your entries in /post.php or /edit.php you will notice that there is a new column.

wpml-8

Next to every entry you can now see if posts have also published in the other language(s). Clicking on + for any post/language now shows a new option on the writing editor page: ‘This is a translation of with a drop-down menu of all your entries.

wpml-9

This concludes the main part of using WPML in an all-day situation. I need to mention that WPML has many more options such as translating plugin and theme strings or breadcrumb navigation. You can even change the CSS. An extensive documentation is available.

What I like most about WPML is how the plugin can be used for more than just multi-language sites. With a little creative thinking you could use it for different purposes and use the plugin as a ‘mini WPMU’ for large multi-authored sites.

A good example of this would be to use WPML to create a gaming site with similar structure to Joystiq: a sub-domain for every platform. With some minor tweaks you could change the name of languages and replace with the name of gaming platforms. Do the same for the flags and attribute every author a certain platform (language) in their profile and without any supplementary effort you now have a multi-gaming-platform with an easy way to review games with their own entry for each platform they have been released for without cluttering your main feed.

Read more about the plugin at the WPML website.

Categories: WordPress Plugins, WordPress Tutorials
Tags: ,

This post was written by . You can visit the for a short bio, more posts, and other information about the author.


Comment with Your Facebook Account

Comments

  1. Marcell Purham says: 12/16/2009

    Great Plug-in! I think it is important to have your website in multiple languages.

    Reply

  2. Dan Gayle says: 12/16/2009

    That last little bit about ‘mini WPMU’ has my curiosity piqued. How would you go about doing that? Is there documentation about that anywhere, or is it a hunch?

    Reply

    • Franky Branckaute ) says: 12/16/2009

      Dan, check out Joystiq. It’s a gaming news site, reporting on every gaming platform. There is a sub-domain for every platform. You can go about and set up a similar structure with only one WP install thanks to WPML.
      Imagine that a language a ‘platform’ is (you can even replace the translation strings and flags with the name of the gaming platform and icon). In the author profiles, give every author ‘a language’, or ‘platform’ and their entries will automatically be published on the sub-domain they are linked to.

      I know, it’s only ‘mini WPMU’ and even then requires some ‘creative thinking’ to call it as such but I think it suddenly opens new possibilities with WP.

      Reply

      • Dan Gayle says: 12/16/2009

        Well, it looks totally awesome to me. We’ve been discussing WPMU at work, but this seems like it will be far more manageable.

        What my real question was how would you technically go about creating new “languages”, which I suppose I’ll just have to dig into it to see.

        Reply

  3. miqrogroove says: 12/17/2009

    I’ve been using qTranslate since day 1. This article is interesting, but I don’t see any inherent advantages to the WPML system. They appear to be good competitors.

    Reply

  4. nguyen thi ngan ) says: 12/31/2009

    We don’t want this to be specific to the WP iPhone app though. The methods it uses to determine what language to store the post as should be open, allowing other blog clients to make use of it as well
    __________________________________________

    tuyen dung | tim viec | viec lam

    Reply

  5. LJ says: 1/1/2010

    I’m using this plugin on a site I’m currently developing and so far, it looks great. Easy to use and a smart design. It’s very straight forward for the client to use as well, which is one thing I always look for. :)

    Reply

  6. laptop hp ) says: 3/24/2010

    You said right :With WPML it is easy to set your blog up to display every language on a sub-domain or different domain for other language content
    Do it set up any website ?
    Please tell me this

    Reply

  7. Anup kayastha ) says: 1/16/2011

    Great plugin! Thanks for sharing.

    Reply

  8. aniket says: 2/7/2011

    great plugin. Im looking for similar plugin since two days but you saved my time

    Reply

  9. tuyendung says: 7/30/2011

    great plugin. We can use it for many different language.

    Reply

  10. ksam says: 9/20/2011

    Reply

  11. Willy - SEO Kuala Lumpur ) says: 9/27/2011

    It’s a long time I would like to test wpml actually. My next project will be with it. Qtranslate is interesting but issue with url… We will see, hope everything will be OK.

    Reply

  12. Adriana says: 2/25/2012

    thanks for share!

    Reply

  13. Mikal ) says: 3/7/2012

    Awesome! Thanks, for this good article!

    Reply

  14. Jose says: 9/5/2012

    Thank you so much, I am going to try, no doubt. I’ll send you a virtual hug if it works for me.
    Regards

    Reply

  15. Naness says: 9/25/2013

    I am currently translating wordpress using another plugin, that attaches wordpress to https://poeditor.com/. This platform has proved itself to be really good with my localization needs and this particular plugin that connects the tool directly to wordpress saves a lot of time. You can download the plugin here http://wordpress.org/plugins/poeditor/ and on poeditor you just have to make an account and you’ll see the benefits.

    Reply