How to Change the Default Language in WordPress
One of the most powerful features of WordPress is it’s ability to allow users to blog or manage content in their language of choice.
If you have been using WordPress for awhile and you would like to change the language for your admin dashboard, here a few easy steps:
Download the Language files
You can get the language files you need from the WordPress in Your Language web page. The file will have a name such as in the following example:
The first two small characters (‘fr’ for French) refer to the the ISO-639 language code. This is followed by the ISO-3166 country code (_FR for France in the example). So, the French .mo file would be called fr_FR.mo.
Copy Language files to your WordPress Installation
Once you have downloaded the correct /mo file to your computer, copy it to your server in the directory ‘wp-content/languages’. You will probably need to create the ‘languages’ directory if you installed WordPress in English.
Modify the wp-config.php file
In the root directory of your WordPress installation is a file named ‘wp-config.php’. This file includes all of the setting to allow you to connect to the database and manage a few other items. Download the file and open it up in your Text Editor application.
Edit the language line
Inside the ‘wp-config.php’ file, you will see the following lines:
define ('WPLANG', '');
You will need to change this to use the file you just copied to your server. If using the example for French above, you would edit the like to look like the following:
define ('WPLANG', 'fr_FR');
Save the ‘wp-config.php’ file and copy it back to your web server.
Goto User Profile and Change Language
Visit your Admin Dashboard with your web browser. Your blog should now be displayed in the language you desired.
Free SEO Guide
- 10 ways to track time of your projects
- Some incredibly useful inspiration websites for designers and developers
- How to Install Custom Font on Your Website
- Tutorial: How to Create Your Own Custom Brushes in Illustrator
- 9 Ways to Keep your Website Running Smooth
- Save your Tears. Migrate your Website with Duplicator.
- Today’s Menu: 10 Recently Released Free & Premium WordPress Restaurant Themes