How to Install WordPress in Other Languages : There are plenty of good reasons to offer your website in more than one language. Having a multilingual site can create opportunities to reach different clients and markets on a global scale. Unfortunately, WordPress doesn’t offer out-of-the box support for running a bi- or multilingual website. However, there are a number of plugins available to bridge this language barrier.

How to Install WordPress in Other Languages is the question which many of us looks out for incase we are dealing with international clients, In the past, we have written a fairly through guide on how to install WordPress by using 1-click install method, manual 5 minute install, as well as local installs. Recently it was brought to our attention that we missed a fairly important part: localization of WordPress installs.


Things You Require Before changing the languages in the WordPress

You will need to have a domain name and a web hosting account. To install WordPress, please follow our tutorial on how to install WordPress.
Now that you have installed WordPress, lets look at how to set it up can for your language.

Changing Language in WordPress

WordPress makes it super-easy to select the language. Simply go to Settings » General and scroll down to the bottom of the page. There you will see the option to select site language.


WordPress is fully translated into many languages. You will be only able to see languages that are fully translated. If you do not see your language in the list, this does not mean that it is not available or that you can not use it.

Manually Installing WordPress Translation Files For Other Languages

WordPress uses gettext system for translations (localization and internationalization). WordPress volunteers from around the world use a main .pot template file to translate WordPress in their languages. This results into two files for each language. Portable Object format file with .po extension, and Machine Object file with .mo extension. You will need a .mo file for your language.

Go to WordPress in your Language page to see if there is a WordPress translation available for your language.

You need to download and upload the .mo language file to your /wp-content/languages/ OR /wp-includes/languages/ folder. You will have to create a new folder called languages in the wp-content directory.

Once you have uploaded all the .mo and .po files that came with your language, the next step is to tell WordPress to use these language files. Open your wp-config.php file and add the following code:

// Replace fr_FR with your language and country code
define ('WPLANG', 'fr_FR');

Replace fr_FR with your language and country code. The first two letters are for the language code and the other two letters are for the country code. You can find yourlanguage and country codes here.


Single-Site Installations

For WordPress v4.0 and above

  • Change the language in the admin settings screen. Settings > General > Site Language.


For WordPress v3.9.2 and below

  • Open your wp-config.php file in a text editor and search for:
define ('WPLANG', '');
  • Edit this line according to the .mo file you’ve just downloaded, e.g. for the Portuguese spoken in Brazil you must add:
define ('WPLANG', 'pt_BR');
  • Note that if the .mo and .po files don’t exist for a language code called for in wp-config.php then there is no error message, but the code is still used in language_attributes(). This is useful for those of us whose language is similar enough to en_US not to require translation, but who don’t want en-US as the language tag in the blog, instead wanting some other variant of English. For example:
define ('WPLANG', 'en_GB');
  • Once you’ve added your language code, save the file.
  • Upload the modified wp-config.php file into the WordPress root directory.
  • Open your browser and go to your WordPress site. It should now display in the newly-installed language.