Home  >  Article  >  Backend Development  >  javascript - How to switch between Simplified and Traditional Chinese and English on a web page?

javascript - How to switch between Simplified and Traditional Chinese and English on a web page?

WBOY
WBOYOriginal
2016-08-23 09:17:51997browse

Like the title? . ,,,

Reply content:

Like the title? . ,,,

I have never done it, but I can basically guess that the text must have been written accordingly, but the corresponding request link is different, and the data obtained is different, so the rendering effect is different.

Language pack.
Each fixed text is a unit.
Each language pack contains the translations of all units corresponding to that language, and then the language pack is read and rendered according to the corresponding language.

Internationalization profile in action

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:php time() problemNext article:php time() problem