My bosS asked me to add an English page under my website.
Source: Internet
Author: User
BosS asked me to add an English page on the website. I didn't have a bosS and asked me to add an English page on the website. I didn't have any experienced bosS to do anything ,, add a set of http: // localhosthttp: // localhost/ch accesses the Chinese http: // l bosS and asks me to add an English page on the website.
BosS asked me to add an English page to my website. I have never been hired by an experienced bosS,
------ Solution --------------------
Add as if you want to add a Chinese character, but the content varies
------ Solution --------------------
It is not about converting a Chinese page into English
But a set of Chinese and English
Http: // localhost
Http: // localhost/ch
Access is in Chinese
Http: // localhost/en
Access is in English
------ Solution --------------------
The background may need to be changed. add a field to the database to implement the multi-language version.
------ Solution --------------------
Since there are two pages
The simplest thing is to jump to Chinese after two connections.
Click to jump to English
------ Solution --------------------
The simplest is to copy a copy of the entire website into English, which is completely independent of each other.
------ Solution --------------------
$ _ SERVER [HTTP_ACCEPT_LANGUAGE] depends on the language settings of the client. you can perform an automatic jump based on this. just write the jump page in English.
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.