Skip Navigation

This tutorial shows how to translate your theme using WPML’s built-in translation interface. It works without any .mo files and you can edit translations from within WPML directly.

The video (3 minutes)

Steps to follow

  1. Go to the WPML menu and click on Advanced.
  2. Go to Theme localization.
  3. Select to translate the theme using WPML.
  4. Make sure that the language locales are set correctly and that the WordPress .mo files are found in wp-includes/languages.
  5. Review your themes strings and click to translate untranslated strings. This will send you to WPML String translation page.
  6. Click on translations, next to each string, translate and save.

Any edits that you make in WPML’s translation interface will appear in the site immediately. You don’t need to upload anything or change anything in the theme.

To work, the theme needs to be multilingual-ready. All strings need to be wrapped in gettext calls and have a textdomain argument. This is already standard practice for most WordPress themes. If you’re creating your own theme, you can check out the post about how to build a multilingual-ready theme.

More reading

4 Responses to “Video Tutorial – localizing themes using WPML”

  1. Thank you for your great plugin.
    I am an expat living in China and most of video sharing sites are banned like youtube, vimeo, metacafe, etc. So we have a big blank space after “The video (3 minutes)”
    Hopefully we can still see videos from photobucket
    Would be awesome to have a small line with a link like : For Chinese users, see this tutorial video in Photobucket
    Thank you !

    • If you get enough websites to put tutorial videos on Photobucket, they’ll just block that as well.

      I hear that many Chinese surfers use proxies to surf the web and watch videos without getting block.

      Anyway, I hope that our demo videos don’t offend the Chinese government in any way 😉