Home > Development Tools > VSCode > How to set language in vscode

How to set language in vscode

藏色散人
Release: 2019-12-17 10:46:14
Original
17808 people have browsed it

How to set language in vscode

How to set the language in vscode?

The first time I used Visual Studio Code (vs code) I didn’t know that it comes with 10 available display languages ​​(regions): English (United States), Simplified Chinese, Traditional Chinese, French, German Chinese, Italian, Japanese, Korean, Russian and Spanish.

Localized display text for all 10 languages ​​is included with the main VS Code download, so no secondary installation is required.

Related recommendations: vscode tutorial

By default, VS code will pick up the display language of the operating system. If it is an unsupported locale, English (US ).

The steps to modify Chinese are as follows

Language settings

1. Shortcut keys

Windows, Linux shortcuts The key is: Ctrl Shift P

macOS shortcut key is: Command Shift P

2. Search: Configure Language or Configure Language

How to set language in vscode

After selection, the locale.json file will be opened

{
// Defines VS Code's display language.
// See https://go.microsoft.com/fwlink/?LinkId=761051 for a list of supported languages.
"locale":"zh-cn" // Changes will not take effect until VS Code has been restarted.
}
Copy after login

After selection, the locale.json file will be opened

When you make an input error when modifying, the available languages ​​will be prompted

When you delete the previous language Settings, when you enter a colon or quotation mark after "locale", you will be prompted with available options

Save the modifications to the locale.json file, close VSCODE, and reopen the language.

Note: The language configuration cannot be found in Settings.json opened in Configuration>Preferences>.

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template