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

We are creating a multi-lingual multi-site (on sub-domains/domain mapping) on Wordpress.

We recently bought WPML Wordpress plugin and installed it on the basic language (English) version. Now we are trying to work on Theme Localization.
Here we are following the steps as in this guide. Here we are being instructed to install a .mo file in Language locale settings. We are getting an error File not found (under MO file in wp-content/Languages).

This .mo file was downloaded from http://code.google.com/p/nextgen-gallery/downloads/detail?name=nggallery-zh_CN.mo.

Can anyone help? Is this .mo file the correct version? Is there any other source to get the correct .mo file? Are we using the right approach for theme localization?

share|improve this question

closed as off-topic by birgire, toscho Sep 23 '14 at 15:46

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.

A .mo file is the machine readable Version of a .po file, which in turn holds the translation of a .pot file.
Hence, the latter is what you want to have in the first place.
And if it is your theme you want to localize, you certainly do not need a random plugin's simplified Chinese .mo file...

Using either, poedit, any other gettext application or the Codestyling Localization Plugin, you analyze your theme's PHP, a .pot file is created automatically and it is then that you can start creating translation files, one .po and .mo per language.

Also, add a /languages/ folder to your theme (or plugin), rather than attempting to use wp-content/languages.

You might benefit from carefully reading the I18n for WordPress Developers codex article.

share|improve this answer
Thanks for your valuable inputs! – Websavvy Apr 10 '13 at 3:52

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