The Polygon Documentation
First of all, this theme is ready for localization with .po/.mo files, but it works also with WPML plugin.
**Note – WPML is a premium plugin and IS NOT INCLUDED in this theme package. If you want to use the WPML plugin, you must buy and install it yourself.
If you are not familiar with translating WordPress themes, we highly recommend that you read this article: http://codex.wordpress.org/Translating_WordPress
1. Localization - Manual Configuration
1. Go to http://wpcentral.io/internationalization/ and click on the link for the language into which you want your installation to be translated.
2. Click on "Download language pack", if available.
3. Decompress the downloaded packet and copy the files into the folder wp-content/languages in your WordPress installation.
In case there were no packet for your language in the website above mentioned, download and install WordPress version in the language you are looking for, go to wp-content/languages and copy the files you find there into the same path into your installation.
4. Open the admin panel of your of your theme. Select "General" from the tab "Settings" and you'll find a dropdown menu where you can choose your language. Select it and save settings. Now, you'll see all menu entries in the language chosen.
5. If your language file (es. es_ES.po) doesn't exist in this folder, you can create it by following these steps:
Copy the file yit.pot
You won’t be able to paste the copied file in your FTP files, so go to your desktop, right-click to paste and save the file there.
Now rename your copy of yit.pot For example, rename your file as the following:
- yit-fr_FR.po for France,
- yit-en_EN.po for English
- yit-he_HE.po for hebraic, and so on.
That's how the renamed file will look like:
Now download Poedit
Open your renamed file with Poedit and translate it. Go to File and click on Preferences.
When your new screen opens, click on Editor, then click on "Automatically generate mo":
Be sure you have saved your translated file, then upload the new .mo and .po via FTP to your server, in the folder "languages".
wp-content > themes > the-polygon > languages
2. WPML Configuration
This is the best configuration to operate with WPML plugin: