Home >Development Tools >VSCode >Where to change vscode to Chinese

Where to change vscode to Chinese

藏色散人
藏色散人Original
2020-03-13 12:51:364237browse

Where to change vscode to Chinese

Where can I change vscode to Chinese? How to set VSCode to the Chinese language environment

First open the VSCode software, you can see that the VSCode software you just installed uses the English language environment by default, as shown below:

(recommended Tutorial: vscode tutorial)

Where to change vscode to Chinese

Next, the editor starts to set the Chinese language environment. Here you need to use the shortcut key [Ctrl Shift P] to achieve, As shown below:

Where to change vscode to Chinese

Enter [configure language] in the pop-up search box, and then select the searched [Configure Display Language], as shown below:

Where to change vscode to Chinese

Then open the locale.json file, you can see that the attribute value of locale is en, as shown below:

Where to change vscode to Chinese

Delete the after locale properties until the colon, and then re-enter the colon, a code prompt will automatically appear, as shown below:

Where to change vscode to Chinese

Select "zh-CN" here, as shown below:

Where to change vscode to Chinese

Then save the locale.json file and restart the VSCode software. You can see that it has not changed to the Chinese language environment. That is because the code configuration in locale.json means that the software starts loading. The language configuration package is Chinese, but in fact the VSCode just installed does not have a Chinese language package, so the Chinese language environment is not displayed here, as shown below:

Where to change vscode to Chinese

Follow the picture below Click on the location indicated by the red arrow in step 1, then enter Chinese in the pop-up search box, then select [Chinese (Simplified) Language Pack for Visual Studio Code], and then click [Install] on the right, as shown below:

Where to change vscode to Chinese

After installing the Chinese language pack, the software will prompt you to restart VSCode. Click [Yes] to restart the VSCode software, as shown below:

Where to change vscode to Chinese

After restarting the VSCode software, you will see the familiar Chinese language environment interface, as shown below:

Where to change vscode to Chinese

The above is the detailed content of Where to change vscode to Chinese. For more information, please follow other related articles on the PHP Chinese website!

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