Theme Translation Guide

WordPress all the text that you want to be translatable, and then you used POEdit to collect each string and place them into a .pot file which can be translated into a .po and .mo file. These files are then included in the our theme files language folder. Now you need to install Po edit program called Virtaal or PoEditor.

* WordPress Localized Language, defaults to English.
* Change this to localize WordPress. A corresponding MO file for the chosen
* language must be installed to wp-content/languages. For example, install
* to wp-content/languages and set WPLANG to 'de_DE' to enable German
* language support.
define('WPLANG', '');

Your file should already contain

define('WPLANG', '');

but if it does not, you can add it in. You simply need to add your language and locale code into the define. If you were to translate your theme into German, you would have this:

define('WPLANG', 'de_DE');

Also If you are changing the Theme translate then check this post.

Leave A Comment?

You must be logged in to post a comment.