How to set the Three.js local official website downloaded from GitHub to Chinese

After starting the Three.js local document that we worked hard to get from git, we will find that this damn thing is in English.
Insert image description here
We can find it under docs in the root directory index.html
Insert image description here
and then search globally for the place where the language variable is declared

let language

Insert image description here
You can see that it is in English, which means it must be in en. Let’s change it to zh
Insert image description here
Our entire document will become Chinese
Insert image description here

Guess you like

Origin blog.csdn.net/weixin_45966674/article/details/135001498