As WordPress is a popular platform supported by over 60 million users worldwide, it reasonably has the build-in ability to compatible with any language you need. In general, WordPress utilizes US English as the default language, and the developing team has translated it into multiple languages, such as Chinese, Japanese, Bosanski, and more. Besides, there are a variety of themes, plugins, and translation files to support WordPress available in almost languages.
To help people build multilingual websites and change WordPress language for their personal requirements, today we write the tutorial for changing default language in WordPress sites. With careful introduction and detailed steps, beginners and newbies can easily complete the process.
Utilize WordPress Translation Plugin
The utilization of WordPress translation plugin can be regarded as a perfect way to change WordPress language, making it readable to readers from all around the world. In the following, we have listed some of the best options for you to choose.
Transposh WordPress Translation
Transposh is an excellent WordPress translation plugin, which offers a different approach to the translation of blogs on WordPress. It helps you in combining the automatic translation with the human translation that is assisted by the users. It is very easy to use and has a very simple user interface. The other highlight of this plugin is the drop and drag interface that helps you in choosing the languages for translation. In addition, it has professional translation bt, the translation function for external plugins, multiple options for the appearance of widgets, RSS feeds translations and many more.
This plugin is used for translating the tools, webpages and blog posts of WordPress. It provides you with an easily customizable widget, which enables the option of machine translation. It chooses translatable strings and then presents them in an editable form. This plugin also allows the generation of valid PO file, which can be emailed to the author of the translation plugin. It provides you with an effective email support so that you can easily send the PO files to the translators from the Windows directly.
This plugin provides you with the option to edit the PO files presented in the browsers. These PO files are used for the purpose of localizing the plugins and themes of WordPress. The other features include PO edit translation editors, native MO file compilation feature, configuration of PO backup files, PO feature support, extraction of strings that need to be translated and the creation of language files, etc.
WP Slug Translate
WP Slug Translate is an effective plugin, which can turn the web content into English. This plugin takes the ID of the post in the form of slug in case the translation fails. This plugin is not going to overwrite the already existing slugs. Therefore, you can also try re-translating by removing the already existing translation. Another good feature of this plugin is the support to multiple languages. Also, it is powered by the API of Microsoft Translator. You can provide a better look to your URL with the help of this plugin.
Google Language Translator
This plugin can help you in inserting the powerful Google tool for language translation in your website with the help of a shortcode. The settings of this plugin include options like hide/show Google branding, vertical layout, show/hide different languages, PO edit style translations, Native MP file compilation, creation of language files, extraction of translatable strings, support for PO features and configuration of PO file backups. All in all, this is a simple and easy to use plugin, which can add ease to the translation procedure while you are using WordPress.
Mealingua Posts and Pages Translations
This plugin has been created for the translation of posts and articles on the WordPress websites with the help of AJAX. It does not make use of translation services. The best thing about this plugin is that it is really simple and very easy to use. The flexibility of this plugin makes it unique among all the other translation plugins out there. It is easily installable, and translates your posts and blogs in a very simple manner.
Google Translate WordPress
This plugin adds the widget of Google translation to the upper right corner of your screen. It also allows you to translate the content of your website to any desired language. You can easily bring your website to a global market by translating it with the help of this excellent and simple-to-use plugin. It sets the default language of your website. The plugin also tracks the usage of translation with Google Analytics. You can provide better positioning to your widget with the help of this plugin.
Translate This Button
Pagination Translator is a really simple plugin that helps you in the translation of WordPress pagination URL. You can translate the URL from page to anything else according to the requirements with the help of this plugin. You can easily set up the permalinks page or pagination after activating this plugin on your WordPress website. The plugin is easily customizable, simple and very easy to use.
WordPress allows you to run a community with multiple languages on the websites using the plugin of WordPress Language. This is an excellent plugin, which sits between BuddyPress and WPML. The features of this plugin allow you to run your website in variant languages on the basis of your needs. However, it is really important to know that the BuddyPress plugin only runs in the languages that are present in the directories in the mode of URL.
To help you understand the working process of the translation plugins, here, we have made WordPress Language as an example.To make use of its practical functions, you should first install and activate the plugin. Once installed, there is a Language Selector appeared on the top of your dashboard. You can simply click it and select the language you need.
Once switched, it presents a page like the below screenshot, asking you whether show a language select in the WordPress admin bar and if use the same language for WordPress admin and public pages or not.
Install Language Files Manually
Some people may concern too many plugins installed will slow down the site speed and others would like to handle the issue by hand. Instead of installing plugin, you can manually install the language files.
WordPress language is decided by the .mo language files under /wp-content/languages directory. If you want to change the language by hand, you can create a new languages folder under the /wp-includes or /wp-content directory, and then download and upload the proper language file into it.
Then, you are required to tell WordPress to use the new language file. Go to find and open the wp-config.php file, and then search for define (‘WPLANG’, ”); line. At last, what you need to do is add the language into the line between two quotation marks.
For example, we install a Spanish language pack named as admin-es_ES.mo, so we add the “es_ES” as the following:
define ('WPLANG', 'es_ES');
The first two letters represent for the language code and the latter two stands for country code. You can feel free to change the es_ES with your language and country code. That is it.