Note: If you’re using WordPress 4.0 or higher (if not, we recommend that you update) then you do not need to edit the wp-config.php file and you only need to select your language by setting Site Language option in Settings -> General.
VIDEO TUTORIAL IS AVAILABLE ON OUR YOUTUBE CHANNEL!
All our WordPress themes are translation ready which means that you can easily translate them to any language you need. Here are some instructions:
First you need to change your entire language of WP installation to your language. This can be done in file wp-config.php in the root of your WP installation. The constant WPLANG should have the value of locale for your language, you can find the list with WordPress locales here. Then in wp-admin updates you will notice that you can update the WP in your language.
WordPress doesn't include the WPLANG constant in wp-config.php file since WP 4.0. Anyway, just to switch the language you can add it manually.
Find a line
define('WP_DEBUG', false);and add this line right below it:
define('WPLANG', '<your locale code here>');
Second, navigate to the folder of the theme (wp-content/themes/<our theme name, ie. hairpress or carpress>/) and in the folder languages/ (of the theme) you will find file <name of the theme>.pot. Load this file (as the catalog) in the PoEdit and start translating. When done, save the .po file in the folder translations (there are sl_SI.po and sl_SI.mo files already there as an example) and name it the same as the defined WPLANG constant in the file wp-config.php.
.mo file will be automatically created next to the .po file.
And that's it, your translations should work now.
When you translate the theme to any new language, you can share the po/mo files with the rest of the community. Don't be silly, please send us a .po file, we will include it in the next theme update.
By doing so, you get a big THANK YOU from us - we make your name immortal in the wall of fame on the theme item page on ThemeForest, with a link to your profile/blog/website.
If is you find this method too complex, you can always use CODESTYLING LOCALIZATION PLUGIN, which helps you with a quick and smooth translation. This plugin is completely free and very easy to use it.
Here is another great tutorial from WPZOOM.
If you placed the translation files directly in the folder <name of the theme>/languages/, they will be lost if you update the theme later on and you will have to put the .po/.mo files again in the same folder after update. Alternative is that you use the child theme.