How to Translate Your WordPress-Powered Website to Any Language?

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

define (‘WPLANG’, ”);  to  define (‘WPLANG’, ‘de_DE’);

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

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.

Open “Poedit” tool and click “Open” from the menu bar and select “your_theme.pot” file from the following path “wp-content\themes\your_theme\languages”.

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.

Finally, save the file as format and move to wp-content\themes\your_theme\languages.

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

(i.e.) define (‘WPLANG’, ‘de_DE’);

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. 

Realated Posts

One thought on “How to Translate Your WordPress-Powered Website to Any Language?

  1. Ricky

    After searching a lot of posts in online, I just got this to prefer the language option and just gone through this post and implemented for my wordpress website it works fine.

Leave a Reply

Your email address will not be published. Required fields are marked *



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code lang=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" extra="">