Having a WordPress website? Want to translate that to any language you prefer? Well, it won’t take you more than a few minutes to set up one with the tutorial provided below.
Today, in this tutorial, I’ll guide you in the process of translating your WordPress-powered website to any language quickly and amazingly.
WordPress community has already translated WordPress to many languages. However, the default language is found to be US English.
How to translate language files manually?
Open your wp-config.php file in any text editor and go to line number (nearly) #72
Language Code de_DE refers German – Deutsch
What tool you need beforehand to perform this?
To carry out the language translation soothingly, you have to install “Poedit” tool in your system. If you don’t have it in your system kindly install it or download from this link http://www.poedit.net/download.php
POT stands for Portable Object Template and POT file is basically a list of all the English language text found within the files of a localized WordPress theme.
Find “Source text” and “Translation” sections in the “Poedit” Tool.
Change the language to Deutsch in Translation sections. The boxes underneath show the source text you’ve selected to translate.
Translating a line of text is really easy. Just select a word or phrase, enter the text in translation area, say if you wish to translate the POT file named “Views”, type it in the translation box. You’ll find that respective POT file name translated on the Poedit panel above in no time.
MO stands for Machine Object files. In the last step, the POT file is converted into a machine file.
If the .mo and .po files don’t exist for a language code called for in wp-config.php
It will not show error message and display in WordPress default language US English.
Your Translation Process is over. So now go to your WordPress website.
It will appear with newly-installed German language.