1. Go to
http://www.poedit.net/download.php and download poedit for your operating system
2. Open THEMENAME.pot file, that is located inside of your theme in languages directory
3. Check if You have checked "Automatically compile .mo file on save" on Editor tab of PoEdit preferences (File->Preferences)
3. Translate all strings (If You dont know how to use PoEdit, go to "Step 3 Translating and Making Your .po File" paragraph on this site:
http://wp.tutsplus.com/tutorials/theme- ... our-theme/, or here:
http://codex.wordpress.org/Translating_ ... ith_Poedit)
4. Now, check if You have defined:
- Code: Select all
define('WPLANG', '');
in wp-config.php file on your server.
Defined one will look like this:
- Code: Select all
define('WPLANG', 'de_DE');
and not defined:
- Code: Select all
define('WPLANG', '');
Now the part de_DE is important, because this is gonna be our new file name. If WPLANG is not defined, then we will use 'en_US' as filename
5. Back in PoEdit go to "save as" and use the filename from previous point (de_DE, en_US or any other You have determined previously).
6. Save files in languages subfolder of Your template (same folder where You have found oryginal .pot file) or on your desktop and upload them via ftp.
That should be it.