Home  >  Article  >  CMS Tutorial  >  WordPress website configuration multi-language

WordPress website configuration multi-language

尚
Original
2019-07-18 10:28:025111browse

Wordpress is a CMS system that is commonly used by everyone. In order to carry out secondary development and build corporate websites, it is inevitable to use multiple languages. Let’s introduce to you how to configure multiple languages ​​in WordPress.

WordPress website configuration multi-language

WordPress multi-language configuration can be achieved using the plug-in polylang. After installing the plug-in, enter the plug-in settings, select the language to be used in the language bar and add it as a new language , and then set the language display order. You can also set related multi-languages ​​in the plug-in. After saving, the multi-language settings are completed.

Let’s take a look at the specific implementation steps:

Log in to our wordpress backend, we select “Plug-in”, and then select “Install Plug-in”.

WordPress website configuration multi-language

Enter polylang and press Enter directly to search for your plug-in introduction and click to install.

WordPress website configuration multi-language

Enter your host permission information so that it can be successfully written to your server (some servers do not have this), and enable the plug-in after the installation is complete.

WordPress website configuration multi-language

Then go back to the plug-in and perform "Settings"

WordPress website configuration multi-language

Select the "Language" column, we need to select "Chinese" "zh-cn, and "English" en-us

WordPress website configuration multi-language

WordPress website configuration multi-language

Pay attention to setting the display order, and then the enabled languages ​​can be displayed on the right Options

WordPress website configuration multi-language

Then you can set the relevant multi-language in this plug-in

WordPress website configuration multi-language

Then we set the browser address Refresh the column to see the English version of the interface (note: you can add: /?lang=en after the address)

WordPress website configuration multi-language

Our WordPress multi-language configuration has been completed. Of course, in order to be more consistent with your website, you need further settings!

For more wordpress related technical articles, please visit the wordpress tutorial column to learn!

The above is the detailed content of WordPress website configuration multi-language. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn