Home >CMS Tutorial >WordPress >How to use wordpress Chinese plug-in
There are many good themes and plug-ins to download in wordpress, but many of them are in English. Let’s take the theme-my-login plug-in to demonstrate.
Method steps:
Install the poemit software, and then install the theme-my-login plug-in (the same is true for the installed theme. Articles are generally published in the theme, surrounded by English, such as the date of publication. is posted on, the keyword is tagged, etc. These can all be Chineseized). I found that both the backend and the frontend are mainly in English. The effect is as shown below:
Use the ftp tool to download and install the plug-in in the backend .pot file, this is the translation template given to you by the plug-in or theme author. If it is a theme, go to the languages folder of your theme in themes. The operation method is the same. Here we go to the languages of theme-my-login in plugins. Find the theme-my-login.pot file in the folder, the directory is: /wp-content/plugins/theme-my-login/languages, download it to your computer.
Open theme-my-login.pot with the poemedit software you have installed, click to create a new translation, select Chinese Simplified and click OK, then click Save. The default save name is zh_CN .po, add the name of your plug-in or theme followed by -, for example: theme-my-login-zh_CN.po. The software automatically generates two files, theme-my-login-zh_CN.po and theme-my-login-zh_CN.mo.
Search it based on the English that appears in the front and backend, and then translate it into Chinese through translation software. Pay attention to saving the yellow triangle mark at the top, indicating that some changes are errors. Yes, if you place the mouse next to the logo, the software will tell you the cause of the error. Just correct it. Here I change a few keywords on the front desk: personal Options, Name. . Wait, use the search function in the editor to locate it, and save it after making changes.
Upload the modified files theme-my-login-zh_CN.po and theme-my-login-zh_CN.mo to:/wp-content/languages/plugins Inside (if it is a theme, it will be inside /wp-content/languages/themes). Remember that it is not /wp-content/plugins/theme-my-login/languages, but /wp-content/languages/plugins. This is very important. . The following is the comparison effect of the front desk before and after the modification:
For more wordpress related technical articles, please visit wordpress tutorial Column for learning!
The above is the detailed content of How to use wordpress Chinese plug-in. For more information, please follow other related articles on the PHP Chinese website!