Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to set the language for vscode

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article is about how vscode sets the language. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.

How does vscode set the language?

When using Visual Studio Code (vs code) for the first time, she did not know that she had 10 available display languages (regions): English (US), simplified Chinese, traditional Chinese, French, German, Italian, Japanese, Korean, Russian and Spanish.

Localized display text for all 10 languages is included in the main VS code download, so no auxiliary installation is required.

Related recommendation: vscode tutorial

By default, the VS code picks up the operating system's display language and uses English (US) if it is an unsupported locale.

The steps to modify Chinese are as follows

Language settin

1. Shortcut key

The shortcut keys for Windows and Linux are: Ctrl+Shift+P

MacOS shortcut key is: Command + Shift + P

2. Search: configure language or Configure Language

The locale.json file will be opened after selection.

{/ / 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.}

The locale.json file will be opened after selection.

Input errors during modification will prompt for available languages

When you delete the previous language setting, enter colons or quotation marks after "locale" to prompt for available options

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

Note: the language configuration cannot be found in the Settings.json opened by the configuration preferences.

Thank you for reading! On how to set up the language of vscode to share here, I hope the above content can be of some help to you, so that you can learn more knowledge. If you think the article is good, you can share it and let more people see it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report