How to Change the WordPress Language

This article describes how to change the language in WordPress.

 

About Wordpress Language Support

As the most popular blogging platform in use today, WordPress is used all over the world. Part of the reason for WordPress' popularity is its support for many languages.

By default, a WordPress installation uses English as its language, but there are several ways to install other languages:

  • Softaculous: Softaculous enables you to select a language during WordPress installation. If you are installing a new WordPress site using Softaculous, this is the easiest way to install your preferred language. Softaculous is enabled by default in all our web hosting accounts.
  • Manual installation: Your account may not include Softaculous, or Softaculous may not have the language you want. Or you may want to install a language on an existing WordPress site. In these scenarios, you can install language files manually to change the WordPress language. For information about how to do this, please see the procedure below.
  • Plugin: As an alternative to manual installation, you can use a plugin to change the WordPress language. For information about how to do this, please see the procedure below.


CHANGING THE WORDPRESS LANGUAGE MANUALLY

To change the language in WordPress manually, you download the translation file (or files) for your language, upload them to your WordPress site, and configure some settings. To do this, follow these steps:

  1. Use your web browser to go to https://translate.wordpress.org/languages. This page displays WordPress languages and locales. Use the values in the Language code column to determine the code for the language that you want to use.
  2. Use your web browser to go to http://i18n.svn.wordpress.org. This site is the source repository for all of the WordPress language files. Use the language code that you obtained in step 1 to determine which directory contains the files for the language you want to use.
  3. Click the language code name (for example, fr_FR) to view the directory contents, and then click the tags directory.
  4. This step varies for each language. The tags directory contains directories for various WordPress versions. Start with the most recent version number, and look for the messages subdirectory. If the messages subdirectory does not exist, move on to the previous version number until you find it.
  5. In the messages directory, download the .mo language file or files to your local computer.
    • Depending on the language, there may be only one .mo file, or there may be multiple .mo files. Also, you do not need any of the .po source files unless you plan on modifying the translations yourself.
  6. Upload the .mo file or files to the wp-content/languages directory of your WordPress site.

    Note: If the languages directory does not exist in the wp-content directory, create it first, and then upload the files.

     

  7. Enable the new language in the WordPress settings:
    • If you are using WordPress version 4.0 or newer, log in to the WordPress administration interface. Click Settings, and then click General. In the Site Language list box, select the language you want WordPress to use, and then click Save Changes.
    • If you are using WordPress version 3.9.2 or older, open the wp-config.php file in your preferred text editor. Locate the following line, replacing xx_YY with the language and locale code (this code matches the language code directory name that you used in step 3):

      define ('WPLANG', 'xx_YY');

      Save the changes to the wp-config.php file.
  8. View the WordPress site in your web browser. WordPress displays text using the new language.

 

CHANGING THE WORDPRESS LANGUAGE USING A PLUGIN

If you do not want to install WordPress languages manually, there are several WordPress plugins that simplify the process. One of the most popular plugins is WordPress Language. This plugin automatically downloads and installs the correct language files, and enables you to switch quickly and easily between languages.

To install and configure the WordPress Language plugin, follow these steps:

  1. Log in to your WordPress site as the administrator.
  2. In the left-hand pane, click Plugins.
  3. Click Add New.
  4. In the Search text box, type wordpress language, and then click Search Plugins.
  5. In the Name column, locate WordPress Language, and then click Install Now.
  6. After WordPress finishes installing the plugin, click Activate Plugin.
  7. After the plugin is activated, a language selection menu appears in the top menu bar of the administration interface:

    Change WordPress Language


  8. To change the WordPress language, select the language you want to use, and then click Switch language. If you do not see the language you want, click More Languages to view additional language options.


    Note: The Switch language text varies based on the current language (for example, if the current language is French, WordPress displays Changer de langue).

     

  9. The new language settings take effect immediately.

 

MORE INFORMATION

For more information about language support in WordPress, please visit http://codex.wordpress.org/WordPress_in_Your_Language



  • WordPress, Language, WordPress Languages
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Add MailChimp Subscribers from WordPress

You can add subscribers directly to a MailChimp mailing list from WordPress. This article...

Broken Image Links in WordPress

This articles describes how to resolve a problem that may occur when you try to add images to a...

How to Add CAPTCHA Protection to a WordPress Site

This article describes how to add CAPTCHA protection to a WordPress site using the Google CAPTCHA...

How to Add External RSS Feeds to your WordPress Site

This article demonstrates how to add an external RSS feed to a WordPress site. RSS (Rich Site...

How to Add a Custom Logo to WordPress

This article describes how to add a custom logo to a WordPress site. Adding a logo to your...

Powered by WHMCompleteSolution