How the Web site knows what language the browser user is using

Source: Internet
Author: User

We will see a lot of support for multi-language sites, some early sites in the home page will have a link to let users choose to see their own Chinese, or English, now the site is not needed, these sites can be based on the user's language to display a different version of the language. For example, you are using Simplified Chinese, open a Web page, you will see a Simplified Chinese web page, you use English, enter the same address, you will see an English page.

How does the server know which language version of the page the user wants to see?

Browser end

For the site, a site to serve a large amount of users, using the server to remember the user's language is very troublesome, this work or from the browser, if the browser itself told the server want to use the language, the server is not simple?

A variety of browsers can set the language you want to use, in IE, select Settings, pop-up dialog box, you can set language preferences.

Click the language, Pop-up Language Preferences dialog box.

See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/web/Skills/

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.