Home >Web Front-end >HTML Tutorial >Router page Chineseization_html/css_WEB-ITnose

Router page Chineseization_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:49:381338browse

I recently applied for a board from a fellow forum seller and tried to Chineseize it. So there is this record


The structure under www is

drwxr-xr-x 2 root root 4096 May 31, 2013 conf
drwxr-xr -x 5 root root 4096 May 31 2013 htdocs
drwxr-xr-x 5 root root 4096 February 5 22:01 nls
drwxr-xr-x 5 root root 4096 May 31 2013 pages
drwxr-xr-x 2 root root 4096 May 31, 2013 yapl


After browsing for a while, I found that language and display are separated, which is great!

Everything that needs to be processed is in the nls folder. Below nls is


drwxr-xr-x 3 root root 4096 February 5 22:02 CN
drwxr- xr-x 3 root root 4096 February 5 22:00 DE
drwxr-xr-x 3 root root 4096 February 5 22:01 default
Of course, the CN inside is copied from default, because It is a directory in English.

Then what needs to be configured is the language.yapls file in each language directory, just follow the example.

default_label=English
CN_label=Chinese
EN_label=English
IT_label=Italiano
DE_label=Deutsch
FR_label=Français
PT_label=Português
ES_label= Español

After that all that’s left is the hard work of text translation

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