Install WordPress In Your Own Language shows you how to set up WordPress in your own language if the language exist and much more.
The following instructions shows you how to set up WordPress in your own language. In this tutorial the language of choice is Spanish. Once you have set up your language, when ever you install a plugin or theme that is also translated into your language the correct files will be implemented in your site. You don’t have to do any thing else.
You no longer have to define the language in wp-config.php file as illustrated below. This was made possible thanks to WordPress version 4.0 and above.
- define( ‘WPLANG’, ” );
Note: If your language is not working correctly in your site for a plugin or theme, then there is something else happening in your site that is preventing this. You can read the troubleshooting section below to help you further. If the troubleshooting does not help, you will have to troubleshoot further the issue in your site.
Install WordPress In Your Own Language
Note: The following instructions apply to all available WordPress languages.
Step 1 ) First you need to download the WordPress version for your language. Click on the following URL list of languages WordPress supports to find your translated version. In this tutorial the Spanish WordPress file was downloaded and set up.
Step 2 ) When you install WordPress “Spanish version”, log into your site as admin and go to Settings -> General “Ajustes -> Generales” and select the Spanish, “Español” language. The following field must be changed.
Admin General Settings
- Site Language “Idioma del sitio” = This is set to Español “Spanish”.
Troubleshooting A Plugin Language File
Step 3 ) When you install a plugin or theme as mentioned earlier the correct language will be set up by WordPress. Lets look at a particular plugin Simple Membership.
There are two areas that a the plugin language file might be added. One is in the plugin language folder if it exist.
The other area is located in the following path /wp-content/languages/plugins/. These files are the ones translated in wordpress.org.
For example the plugin has been translated into Spanish via wordpress.org then you will fine the following two files added to the the following path /wp-content/languages/plugins/.
Po and Mo Files
However if someone else has also submitted the translation files to the developers and the developers added those language files to the plugins language directory, then the po and mo files will appear in the following directory /wp-content/plugins/simple-membership/languages/. This directory will take precedence over the files added by wordpress.org located in the path mentioned above. If that is the case, simply delete the Spanish po and mo files from the plugins language directory folder located in /wp-content/plugins/simple-membership/languages/.
You might also be interested in how to translate a wordpress blog or site into another language. Click on the following URL How To Translate WordPress Into Another Language to learn more.
If you have any questions please let me know.
I will be updating this tutorial from time to time so make sure you come back for the latest.
WordPress Setup Tutorial List: