Posted in WordPress

WordPress theme\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
  2. For plugin
    php makepot.php wp-plugin your-plugin-directory
  3. For theme
    php makepot.php wp-theme your-theme-directory
  4. Download Poedit
  5. Open Poedit -> File -> New catalog from POT file.
  6. Translate and Save as “en_US.po” file (or ru_RU.po)

Done! 🙂

Good Links

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s