Theme Translation

You can translate the theme with two way; ‘Poedit’ and ‘Loco Translate’. These way is best solution for translation. You can use .pot file that come with the theme.

Translation with Poedit

  1. Firstly, download ‘Poedit’ software from Poedit website.
  2. Login to your hosting via FTP.
  3. Go to folder to the ‘/wp-content/themes/’ directory on your FTP server.
  4. Open languages folder in your theme folder.
  5. Download the ‘.pot’ file from the ‘/languages’ folder.
  6. Next, open the ‘.pot’ file via ‘Poedit’.
  7. Create the translation for your language.
  8. Save with your language code (such as de_DE.po/de_DE.mo or fr_FR.po/fr_FR.mo etc.).
  9. Upload translation file in the ‘/languages’ directory.
  10. You can find all details about Poedit from here.

Translation with Loco Translate Plugin

  1. Go to the ‘Plugins > Add New’ page from admin panel menu.
  2. Search the ‘Loco Translate’ from the search from.
  3. Click on the ‘Install Now’ button.
  4. Click on the ‘Activate’ button.
  5. Go to the ‘Loco Translate’ from admin panel.
  6. Click on the theme from the ‘Active’ theme section.
  7. Click on the ‘New Language’ button.
  8. Firstly, choose a language from ‘Choose a language’ dropdown. This language is the language you want to translate.
  9. Next, choose a file location from ‘Choose a location’. Your ‘.pot’ file will save in that location.
  10. Click on the ‘Start translating’.
  11. Next, you can translate the words and the sentences from this interface.
  12. Click on the ‘Save’ button after process is finished.

Changing Site Language via WordPress Panel

  1. Go to the ‘Settings > General’ page from admin panel menu.
  2. Scroll to the ‘Site Language’ dropdown.
  3. You can change site language from this dropdown.
  4. Click on the ‘Save Changes’ button after process is finished.

Changing Site Language via config.php

  1. Login to your hosting via FTP.
  2. Open the ‘wp-config.php’ file (This file is in your website root directory).
  3. Find the ‘WPLANG’ word.
  4. Change the language code with your language code you want to use. Click for language codes.
  5. Save the file and replace with existing file.