
There are over 6800 spoken languages on this planet and at present our Travelify theme makes use of one – English is translated in English, French, German, Hungarian, Italian, Spanish, Dutch, Hebrew, Slovak, Turkish, Swedish, Brazilian Portuguese, Polish, Finnish and Chinese language. Nevertheless, this theme is constructed they means that you would be able to translate it with ease. We now have already added default “.pot” WordPress language recordsdata and you can begin WordPress theme translation from there.
Please be aware! This tutorial will apply on most WordPress themes which can be translation prepared and never simply, Glowing, Dazzling, Travelify or Pinbin so be at liberty to learn additional even if you're not utilizing our themes.
The right way to translate WordPress Theme?
1. To begin with you will have to download .PO/.pot file editor like Poedit or different. It's potential to make use of any textual content editor however it will likely be a lot simpler to make use of Poedit than common textual content edit so I strongly advocate to obtain it. It’s free, works on Mac, Home windows and Linux and there's no cause to not use it.

2. Second factor is to open default language recordsdata kind your theme. In Travelify case it's situated in languages folder inside theme folder. This file is named travelify.po. It is best to use this default file for translation however you want to create a brand new file if you end up completed. Most themes has the identical construction and language recordsdata needs to be someplace inside theme folder. There may be probability that your theme isn't prepared for translation so it'd take time to change. In case you are not developer it may be a ache to create translation help for theme.

three. Now within the Poedit click on on authentic textual content one after the other and write your translation beneath. Identical to you'll be able to see iu the screenshot beneath. It can take a while to get via all of them so be affected person. In case you assume that some translations you received’t want you'll be able to depart them as they're within the authentic language.

four. Now an important half. When you're saving your file in theme language folder you need to use correct language code. For example in case you have translated WordPress theme to German you need to use “de_DE.po” as file title and “fr_FR.po” for French. This may be sure that WordPress understands what language you might be referring to. For different languages codes please see this documentation.
Please be aware: Default language file extension is .pot (travelify.pot, glowing.pot, dazzling.pot and many others) however you must use .po in an effort to make your translation work. Additionally Poedit utility will create .mo and it must be included in languages folder as effectively.

5. Now WordPress will use theme language the identical as your WordPress language. In case your WordPress dashboard makes use of French, don’t anticipate for theme to indicate German. Altering WordPress language will robotically change theme language whether it is accessible within the theme language folder below correct title we mentioned in Step four.
6. Altering WordPress language is as straightforward as including
outline ('WPLANG', 'fr_FR');to the wp-config.php file situated at your WordPress set up root folder. You possibly can obtain WP language recordsdata or whole WordPress set up in your language from here.
Replace: As of WordPress four.zero now you can select WordPress language once you set up WordPress itself. Afterwards you'll get a brand new choice below Settings – Basic the place it is possible for you to to change to any language. See screenshot beneath:

In case you put in WordPress earlier than WordPress four.zero turn into accessible you'll nonetheless should outline language through wp-config.php however afterwards you'll get notification in your WordPress dashboard that it's not required to outline language through configurations file however you must initialize it as soon as.
In case you have translated Travelify, Pinbin or other our WordPress themes you'll be able to ship me “.po” language recordsdata and I'll add them to default theme set up. I'll characteristic your title on theme itself in addition to I'll give credit score on this web site. I actually respect your help and can say a correct thanks! 🙂
In case you have any questions concerning WordPress theme translation or any query associated to our WordPress themes please don’t hesitate and depart your questions in feedback beneath.
Replace (1):
We have created a special page for our contributors!. We attempt to hold that web page up to date as soon as extra translations can be found. We'd actually respect should you may contribute to make our themes even higher!
Replace (2):
We now have up to date this information to incorporate details about WordPress four.zero which makes it simpler to make use of WordPress in your personal language.
We hope you learn how to translate a WordPress theme and now may give again to group by translation themes and plugins for others to make use of. We're making a gift of free WordPress themes and I hope you'll do this with theme translations as effectively.