Fast Site Creation 3.3 internationalization on top-WordPress multi-language support

Source: Internet
Author: User
Tags multisite wordpress version

If the picture cannot be displayed, please see this public Number link . Pictures are in the main station of the Hong Kong server, the recent international export seems to have a problem, the recent will be in the domestic mirror, the problem will be completely resolved.

This article is the 7th of the fast-track creation series, and if you have not read the previous content, it is recommended that you click on the chapters in the following directory to read the other content before returning to this article. To access this catalogue, please click on: http://anb.io/blog/tag/wordpress-on-azure/

1. Website management platform WordPress and cloud computing Platform Azure Introduction (6 minutes)
2.1 Creating websites and Web site operations on Azure (13 minutes)
2.2 Domain binding operations and Azure load balancing mechanism (12 minutes)
2.3 WordPress initialization and website management function (11 minutes)
3.1 WordPress Data import (12 minutes)
3.2 WordPress Multi-site support and Azure online Code Editor (14 minutes)
3.3 WordPress Multi-language support multisite Language switcher (15 mins)
3.4 WordPress Theme Installation and configuration to beautify your website (15 mins)
4.1 Visual Studio Online (VSO) development platform (11 minutes)
4.2 Build a DevOps environment with Visual Studio Online and Azure (13 minutes)

In the previous section (3.2) we completed the WordPress Multi-site mode upgrade, now we have 2 different sites are located under the root and/en directory. In this section (3.3), we will enable multi-lingual support on WordPress, this process will use the WordPress plugin, I will also be in the multi-site mode plug-in installation and some common plug-ins to introduce.

Please read this article in conjunction with the video

Http://v.qq.com/page/r/y/v/r0147l9vyyv.html

Plugin installation in WordPress multi-site mode

WordPress plugin installation After enabling multisite support needs to be done through the Network Admin console and then enabled for all child sites.
First we need to switch to the Network Admin Console

Then enter Plugins | Add New Plugin page

The Add Plugin page lists all the plugins that can be found, which are provided through wordpress.org, which are shared by developers around the world, are available for direct use, most plugins are free, and of course there are some charges.

Shown in the figure:
1. You can search for plugins by using the search box keyword
2. Please note that the compatibility of the plugin is compatible with the WordPress version you are currently using.
3. Focus on the plug-in rating, by many plug-in features very close, in this case try to choose a higher rated plug-in use.
4. Click Install Now to complete the installation directly

Use the search box above to enter multisite Language switcher and click Install Now on the following plugin found.

When the installation is complete, the following page appears, click on the network Activate (enable this plugin on the entire multisite network)

WordPress Multi-language support file acquisition and upload

After the plugin is installed, switch to the console of the main station and you will see the following prompt. At this time because WordPress cannot find language support files caused. Language support files are a common practice in software/web sites to support multiple languages, and software that generally supports multiple languages uses special spaces to display page text, which can be used to obtain the language text that needs to be displayed, depending on the configuration in the application to the language support file. This allows us to dynamically display different languages without modifying the code.

The above manually install some language file link will guide you to the WordPress documentation, which you have detailed support for installing multilingual files.

Language Support Files:
http://wpcentral.io/internationalization/

Download the relevant files in the language you need and extract the zip files to prepare for the subsequent uploads.
Upload language files We still do not need to use FTP, because "Monaco" support file drag-and-drop upload operations, such as the first in the Wp-content directory to create a directory called languages, and then the extracted language files are dragged into the upload can be completed.

When uploading the completed languages directory, this

After completing the above language support file upload, go to the wordpress console settings | Multisite Language Switcher page, you can set the foreground of the current site, the background of the different languages, but also for the multi-language plug-in detailed configuration.

Once you have finished configuring and clicked the Configure button, if you have selected Chinese in the background, you will immediately see the console interface language switched to Chinese.

Configure another/en site in the same way, specifying the language you want. The multi-language configuration is completed.

Enable multi-lingual support on the article

When multiple languages are enabled, the Multi-language toggle option appears on the right side of the article editing page, which displays the title of the article in the other subsites, so that if you use a different language at another site, you can link the current article to the other site's articles, creating a different language version transition for the same article.

Here, we have completed the WordPress multi-site, multi-language configuration. Perhaps you at the beginning of this series of articles think that WordPress is just a simple article published, do you think it has a little bit tall? In addition, in this process I did not use any professional development tools, just use the browser to complete the site code changes, this is a big advantage of cloud computing, maybe a few years later no one will use the PC, and no one will install a few G-size IDE on their own computer, everything will happen in the cloud.

The next section (3.3), I tell you how to beautify your site, let your site ready to live!

Please pay attention to the public number Anb-io, weekly push content, have the technology also has the life, together to make a sentimental program ape.

Not all things in the world are maintained by direct economic contracts, such as sunshine, air, love and open source software.

Fast Site Creation 3.3 internationalization on top-WordPress multi-language support

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.