Home  >  Article  >  Development Tools  >  How to set the Chinese locale in vscode

How to set the Chinese locale in vscode

王林
王林Original
2020-02-18 17:00:5829245browse

How to set the Chinese locale in vscode

Use the shortcut key [Ctrl Shift P], enter [configure language] in the pop-up search box, and then select the searched [Configure Display Language], as shown below:

How to set the Chinese locale in vscode

Then open the locale.json file, delete the attributes after locale until the colon, and then re-enter the colon, a code prompt will automatically appear, select "zh-CN" here

How to set the Chinese locale in vscode

Then save the locale.json file and restart the VSCode software.

(Recommended tutorial: vscode tutorial)

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

How to set the Chinese locale in vscode

After installing the Chinese language pack, the software will prompt Restart VSCode and click [Yes] to restart the VSCode software. After restarting the VSCode software, you will see the familiar Chinese language environment interface.

For more programming related content, please pay attention to the Programming Introduction column on the php Chinese website!

The above is the detailed content of How to set the Chinese locale in vscode. 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