Chapter II OpenCart Background Operation
Section I. Multi-language articles --- Chinese Language Pack
First, download the language pack
1. Of course, it is necessary to download the language pack on the official website, the advantages do not need to be small-winded. What about the Web site? or the original formula or the original I taste, http://www.opencart.com, here we will not be the first page map, directly on the template plugin diagram, open Home Click menu Extensions into the plugin download page.
Look at the left side of the site there are a few selection menu, here we need to download for our version, here we just need to follow the selection of small series,
Here I choose the first 2.0 Chinese bag on it, click to go to the bottom of the download can see the button.
Second, configure the language pack
1 Download the good language pack extracted and we see 3 files
The first is the background of the language pack, the second is the front desk language pack, the third file is particularly important, do not delete Oh, this is the back of our use of the background operation configuration data.
2 Open our OpenCart project file
Open the Language Pack file Admin->language will appear zh-cn folder, corresponding to open our project admin->language, which is to copy our Language Pack ZH-CN folder under the file.
The language pack at the front desk is also the appropriate operation, open the Language Pack file Admin->language will appear zh-cn folder, corresponding to open our project admin->language, this is the ZH-CN folder of our language pack copy to the file.
Okay, now that you're done with the little knitting, the language pack is working.
Third, background Operation language Pack
Complete the Language pack configuration is not able to implement the Chinese version of the site Ah, of course, there is a need to follow the small series operation backstage. Open the menu bar on the left side of the background page select System->localization->languages This is a blue plus in the upper right corner, click to enter, fill in the configuration information, that configuration information? Don't forget, just a little part of the third file Oh, open the file to fill in the appropriate information, a small series filled out, look at your.
I believe you, you have filled out, click on the upper right corner of the blue button to save. At this time you have asked a small, filled out, refresh backstage I did not change ah, hey. One more step, set the language display, follow the small series to complete the final step.
Select the following menu system->settings Enter, click the blue write symbol behind your store (Defalt),
Choose the local menu, you can see the language settings, language front desk default language, administration language Background default language, select the simplified Chinese, you can, don't forget to save Oh.
Hey, now look, is not the enlightened, ah, the great Chinese came back again.
Then open the front desk to see it, what kind of effect it will be.
is not the page header more than a language selection button, Ah, here is asked a small, ah, if I do not want this language selection button, how to do ah. There is a small part in, of course, good to run AH. The first way, go to the code to kill this line of code. But I don't want to be so troublesome, is there any other way to kill it? Remember, there is a small part in, there is no possibility, follow the small series to operate the backstage bar.
Open the menu bar to the left of the background page select System->localization->languages now look to the right is not more a simplified Chinese ah, this is the first step we joined, click on this simplified Chinese blue input button, only need to select the status bar second Test_disabled. Yes, then open to see the front page is, is not already killed the language selection menu.
Now basically, you have followed the small part of the installation of the Chinese package, is not a sense of accomplishment, ah, continue to refuel, continue to focus on small PostScript operation.
Remark: Front desk: http://localhost/opencart/Backstage: http://localhost/opencart/admin/
Please pay attention to the small 404 Bo Master, welcome reprint, please indicate the source, small series greatly appreciated.
Small series Technology Exchange Group: 519294931 (Foreign Trade two times construction station)
Small qq:1164721404 Personal (404 bloggers)
OpenCart background Operation--first multi-language---Chinese language pack