WordPress theme or plugin translation (I18n)

Add new language or edit existing?

Easy way:

Install this cool plugin Codestyling Localization

Done! :-)

Hardcore way:

    1. Checkout the wordpress-i18n tools directory from SVN

  1. For plugin
    php makepot.php wp-plugin your-plugin-directory
  2. For theme
    php makepot.php wp-theme your-theme-directory
  3. Download Poedit
  4. Open Poedit -> File -> New catalog from POT file.
  5. Translate and Save as “en_US.po” file (or ru_RU.po)

Done! :-)

Good Links

Published by Aleksey Motovilov

Just do it!