This is a rough guide on how to translate WordPress Plugins using poEdit. I will use
WP-Polls as the example here. We will translate it to
French.
Step 1Download poEdit From
http://www.poedit.net/download.phpStep 2Install poEdit
Step 3 (
Step 3 ScreenShot)
Launch poEdit
Step 4 (
Step 4 ScreenShot)
Go To '
File -> New catalog from POT file'
Step 5 (
Step 5 ScreenShot)
Browse for the file '
wp-polls.pot' which is in your YOUR_WORDPRESS_FOLDER/wp-contents/plugin/wp-polls/
Click 'Open'
Step 6 (
Step 6a ScreenShot |
Step 6b ScreenShot)
Fill in the following details to the settings:
- Project name and version: WP-Polls 2.13
- Team: Fill in your own name
- Team's email address: Fill in your own email address
- Language: French
- Country: FRANCE
- Charset: utf-8
- Source code charset: Leave it blank
- Pural Forms: nplurals=2; plural=n != 1;
Click 'Ok'
Save it as
wp-polls-fr_FR.po in YOUR_WORDPRESS_FOLDER/wp-contents/plugin/wp-polls/
Click 'Save'
Step 7 (
Step 7 ScreenShot)
Type in the translated string in the small box located at the bottom left hand corner of the screen.
Translate the remaining strings.
Step 8 (
Step 8 ScreenShot)
When you are done, click on the '
Save Catalog' button located on the top, it is the second button from the left.
Step 9Upload
wp-polls-fr_FR.po and
wp-polls-fr_FR.mo to your site into YOUR_WORDPRESS_FOLDER/wp-contents/plugin/wp-polls/
Just a note, the
wp-polls-fr_FR.mo is automatically generated by poEdit, you need the file in order for the translation to work.
Step 10Make sure that WordPress is already in your own language or the plugin translation will not work.