Visual studio code как поменять язык

от admin

Как поменять язык в Visual Studio Code на русский

Visual Studio Code по умолчанию поставляется с английским языком в качестве языка программы. Если нужный язык есть в магазине расширений, тогда его можно установить.

Самый быстрый вариант это перейти по ссылке vscode:extension/MS-CEINTL.vscode-language-pack-ru и у вас автоматические откроется редактор с предложением установить языковой пакет.

VS Code определяет язык пользовательского интерфейса операционной системы и предложит вам установить соответствующий языковой пакет, если он доступен в Расширениях.

Вы также можете переопределить язык пользовательского интерфейса по умолчанию, явно задав язык отображения VS Code с помощью команды Configure Display Language.

Команда display

Нажмите Ctrl+Shift+P, чтобы вызвать палитру команд, затем начните вводить «display», чтобы отфильтровать и отобразить команду Configure Display Language.

Нажмите Enter, и появится список установленных языков по локали, причем текущая локаль будет выделена.

выбор установленных языков

Выбор установленных языков

Если в выпадающем списке нет нужного вам языка, нажмите «Установить дополнительные языки» или «Install additional language».

Список доступных языков

Список доступных языков

Выберите нужный язык и нажмите установить.

После установки расширения языка и последующего запроса на перезапуск VS Code будет использовать установленный языковой пакет.

Второй способ — русский язык в visual studio code

Как описано выше, VS Code поставляется с английским языком по умолчанию, но другие языки доступны через языковые пакеты расширения.

Вы можете искать языковые пакеты в представлении расширений (Ctrl+Shift+X), набрав нужный язык вместе с category: «Language Packs».

Например: Russian category:»Language Packs» или Spanish category:»Language Packs» .

Чтобы посмотреть все доступные пакеты, введите команду category: «Language Packs».

Русский язык в расширениях

Русский язык в расширениях vs code

Вы можете установить несколько языковых пакетов и выбрать текущий язык отображения с помощью команды Настроить язык отображения.

Display Language

Visual Studio Code ships by default with English as the display language and other languages rely on Language Pack extensions available from the Marketplace.

VS Code detects the operating system’s UI language and will prompt you to install the appropriate Language Pack, if available on the Marketplace. Below is an example recommending a Simplified Chinese Language Pack:

Language Pack recommendation

After installing the Language Pack extension and following the prompt to restart, VS Code will use the Language Pack matching your operating system’s UI language.

Note: This topic explains how to change the display language in the VS Code UI via Language Packs such as French or Chinese. If you want to add programming language support, for example for C++ or Java, refer to the Programming Languages section of the documentation.

Changing the Display Language

You can also override the default UI language by explicitly setting the VS Code display language using the Configure Display Language command.

Press ⇧⌘P (Windows, Linux Ctrl+Shift+P ) to bring up the Command Palette then start typing "display" to filter and display the Configure Display Language command.

configure display language command

Press Enter and a list of installed languages by locale is displayed, with the current locale highlighted.

installed languages list

Use the Install additional languages. option to install more Language Packs from the Marketplace, or select a different locale from the list. Changing the locale requires a restart of VS Code. You will be prompted to restart when you select a locale .

The Configure Display Language command writes to the Runtime Configuration Arguments file argv.json in your user VS Code folder ( .vscode ).

The locale can also be changed by editing the argv.json file directly (Preferences: Configure Runtime Arguments) and restarting VS Code.

Available locales

Display Language Locale
English (US) en
Simplified Chinese zh-cn
Traditional Chinese zh-tw
French fr
German de
Italian it
Spanish es
Japanese ja
Korean ko
Russian ru
Portuguese (Brazil) pt-br
Turkish tr
Polish pl
Czech cs

Marketplace Language Packs

As described above, VS Code ships with English as the default display language, but other languages are available through Marketplace Language Packs.

You can search for Language Packs in the Extensions view ( ⇧⌘X (Windows, Linux Ctrl+Shift+X ) ) by typing the language you are looking for along with category:"Language Packs" .

German Language Pack

You can have multiple Language Packs installed and select the current display language with the Configure Display Language command.

Setting the Language

If you want to use a specific language for a VS Code session, you can use the command-line switch —locale to specify a locale when you launch VS Code.

Below is an example of using the —locale command-line switch to set the VS Code display language to French:

Note: You must have the appropriate Language Pack installed for the language you specify with the command-line switch. If the matching Language Pack is not installed, VS Code will display English.

Common questions

Unable to write to file because the file is dirty

This notification may mean that your argv.json file wasn’t saved after a previous change. Check if there are any errors in the file (Preferences: Configure Runtime Arguments), make sure the file is saved, and try to install the Language Pack again.

Can I contribute to a language pack’s translations?

Yes, the Visual Studio Code Community Localization Project is open to anyone, where contributors can provide new translations, vote on existing translations, or suggest process improvements.

How can I enable a programming language like Python?

Refer to the Programming Languages section to learn how to install support for programming languages, such as PHP, Python, and Java.

Visual Studio Code: как поменять язык интерфейса на русский

Visual Studio Code или VS Code – популярный редактор исходного кода от компании Майкрософт. Редактор распространяется полностью бесплатно и отличается легким интерфейсом, поддержкой разных платформ и ориентирован на разработку веб-приложений.

Одной из особенностей VS Code является то, что он распространяется только с английским языком, а другие языки нужно устанавливать отдельно. В данной статье мы расскажем о том, как включить русский язык в Visual Studio Code. Статья будет актуальной для современных версий VS Code, выпущенных в 2019 году и позже.

Как поменять язык Visual Studio Code на русский

Откройте меню « View – Command Palette » или нажмите F1 или комбинацию клавиш Ctrl-Shift-P и начните вводить фразу « Configure Display ». После появления подсказки, кликните на пункт « Configure Display Language ».

Configure Display Language

После этого появится список доступных языков. Если в нем нет русского ( ru ), то нужно нажать на « Install additional languages ».

Install additional languages

Дальше загрузится список доступных языков. Здесь нужно найти и установить « Russian Language Pack ».

Russian Language Pack

После завершения установки нажимаем на кнопку « Restart » чтобы перезапустить VS Code.

VS Code Restart

После перезапуска Visual Studio Code начнет работать с русским языком интерфейса. Чтобы вернуться к английскому снова переходим в « Configure Display Language ».

Configure Display Language

Выбираем « EN » и перезагружаем VS Code.

выбор языка

Быстрая установка русского перевода в Visual Studio Code

Описанную выше инструкцию можно значительно упросить, если воспользоваться командной строкой. Для этого откройте командную строку или PowerShell и запустите программу « code » (Visual Studio Code) с параметром —locale=ru , например:

После этого запустится VS Code и предложит установить языковый пакет. Нажимаем « Установить и перезапустить (Install and Restart) ».

После перезапуска Visual Studio Code начнет работать с русским языком интерфейса.

В дальнейшем можно запускать отдельные сеансы VS Code с выбранным языком. Для этого также можно использовать параметр командной строки —locale , например:

  • Чем открыть PDF файл в Windows 7 или Windows 10
  • Как перевернуть страницу в Word
  • Как копировать текст с помощью клавиатуры
  • Как сделать рамку в Word
  • Как сделать буклет в Word

Создатель сайта comp-security.net, автор более 2000 статей о ремонте компьютеров, работе с программами, настройке операционных систем.

Задайте вопрос в комментариях под статьей или на странице «Задать вопрос» и вы обязательно получите ответ.

How to change UI language in Visual Studio Code?

How to change UI language in Visual Studio Code (1.0 released April 2016)?

Chinese

9 Answers 9

  • Open VScode
  • Press F1 and type ‘display’
  • Choose ‘Configure display language’
  • Select your language. On top are installed languages, below are other languages. The one you select will be installed as an extension.
  • Accept to restart.
  • you can see that the language you choose has been added to the extensions by selecting ‘extension’ icon on the left toolbar (look for ‘xxx language Pack’)

Previous original answer (for older vscode):

  • Open VSCode
  • Press F1 and type ‘language’
  • Choose "Configure language" in the menu
  • Change the ‘locale’ value. See ‘here’ for available languages.
  • Save
  • Restart vscode

Eric Bole-Feysot's user avatar

Since my Chinese (or whatever language this is in your screenshot) is pretty bad I describe how to set the display language to american English without using VSCode.

    Close VSCode

Open the file locale.json with a text editor (I suggest not to use VSCode).

On Windows the file is located under C:\Users\UserName\AppData\Roaming\Code\User

On Linux it’s under $HOME/.config/Code/User

On a Mac it’s under $HOME/Library/Application Support/Code/User

Читать:
Как определить количество строк в датафрейме

Похожие статьи