Home » Blog » Themes » Video Tutorial – localizing themes using WPML

Video Tutorial – localizing themes using WPML

December 8th, 2009 by Amir

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

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

  1. Jamy says:

    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 !

    • amir says:

      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 ;-)

  2. K says:

    This needs more visibility, I’ve been searching for this tutorial for over an hour… and struck gold. Thanks :) .

    Also the TOR project seems to be able to bypass the Great Firewall of China (http://www.torproject.org).

Leave a Reply

Please leave here comments about this page only.
For technical support and feature suggestions, head to our forum. We are waiting there!

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">