Mocha provides localisation tools for WordPress, allowing plugins, themes and the WordPress core to be translated into different languages from within the admin section.

Download Mocha 0.1.6 now!

Features

  • Have your entire WordPress powered blog localised in your language.
  • Intuitive user interface: Just select a plugin or theme and fill in the translations.
  • See changes reflected on the site immediately, without constantly editing and re-uploading.
  • Mocha saves the translated strings (such as “Search” or “posted by”) in standard .po and .mo files which you can share.
  • Automatic update of localisation files.
  • Support for “fuzzy” translations.
  • Retrieves the latest .pot localisation template for WordPress automatically after upgrading.
  • Works also with Gengo for multilingual blogs.
  • User support in the forum.
  • It’s free!

Requirements

  • WordPress 2.1.2 or higher (?)
  • The gettext tools installed on your server: For most *nix servers they should already be there. For Windows servers, you’ll have to find and install the gettext .exe and .dll files and install them to wp-content/mocha/lib/. You can find these, for example, as part of the poEdit distribution.
  • PHP5 (a PHP4 compatible version will be available soon)
  • A “gettext-ed” Theme (see Translating WordPress for more information on gettext).

Installing Mocha

  1. Download the latest version of the Mocha plugin and decompress the .zip file.
  2. Copy the mocha directory in the zip file to wp-content/plugins/.
  3. Activate the plugin on the Plugins screen.
  4. You’ll be redirected to the Mocha Options page where you can fill in the locale and the language name (Gengo users don’t need to do this): The locale should match what you have set WPLANG to in wp-config.php (e.g., “pt_BR”). The “language” field should contain the name of the blog language (e.g., “Português”).