Меню Закрыть

Visual studio code как поставить русский язык

Содержание

Как изменить язык пользовательского интерфейса в Код Visual Studio (1.0 выпущен в апреле 2016 года)?

Поскольку мой китайский (или какой-либо другой язык на вашем скриншоте) довольно плохо, я описываю, как установить язык отображения на английский без , используя VSCode.

Откройте файл locale.json с помощью текстового редактора (я предлагаю не использовать VSCode).

В Windows файл находится под C:UsersUserNameAppDataRoamingCodeUser

В Linux он под $HOME/.config/Code/User

На Mac он под $HOME/Library/Application Support/Code/User

Измените содержимое файла на

  • Открыть VSCode
  • Нажмите F1 и введите "язык"
  • Выберите "Настроить язык" в меню
  • Измените значение ‘locale’. См. ‘здесь’ для доступных языков.
  • Изменить язык для временной папки

щелкните: File- > Preferences- > Settings, пользовательский json файл откроется и добавит "locale" = "en" ", сохранит файл и перезагрузится. Или вы можете использовать команду: → > код. —locale = [lang] (lang ссылается на код языка)

Нажмите Ctrl + Shift + P, чтобы открыть Палитру команд, затем начните вводить "config" для фильтрации и отображения команды "Настройка языка". Добавьте "locale" = "en" " в файл Jason, сохраните и перезапустите

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:

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.

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.

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

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
Bulgarian bg
Hungarian hu
Portuguese (Brazil) pt-br
Turkish tr

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" .

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.

Читайте также:  Служба телефония в windows 10

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.

Microsoft

Языковой пакет для русского языка содержит локализацию интерфейса VS Code.

Использование

Чтобы загрузить языковой пакет для русского языка, после установки в файле locale.json задайте "locale": "ru" . Для редактирования locale.json нажмите клавиши CTRL+SHIFT+P , чтобы открыть Палитру команд, и начните вводить "config", чтобы отфильтровать список доступных команд, после чего выберите команду Настроить язык. Дополнительные сведения: Документация.

Участие

Строки для перевода хранятся в проекте "DevTools — VS Code" на платформе Microsoft Localization Community Platform (MLCP).

Если вы хотите внести вклад и предложить свои варианты переводов или улучшить существующие, см. дополнительную информацию по следующей ссылке: страница локализации для сообщества

Лицензия

На исходный код и строки распространяется лицензия MIT.

Благодарность

Языковой пакет для русского языка доступен вам благодаря усилиям сообщества.

Читайте также:  Adb shell wm density

Выражаем особую признательность тем, кто принимал участие в создании пакета.

Участники:

  • Mikhail Zabaluev
  • Ivan
  • Svitlana Galianova
  • Aleksey Nemiro
  • sberbanker
  • Nikita Gryzlov
  • Veronika Kolesnikova
  • Valeriy Schepak
  • Kirill Moskvichev
  • Alexander Filimonov
  • Anton Afonin
  • Serge Rodionov
  • Артем Мельниченко
  • Orrchy
  • Roman
  • Acupofspirt
  • Артём Давыдов
  • Andrei Makarov
  • Romanenko Alexey
  • Roman Sokolov
  • Andrei Pryymak

Приятной работы!

Russian Language Pack provides localized UI experience for VS Code.

Usage

Once installed, set "locale": "ru" in locale.json to load Russian Language Pack. To modify locale.json press Ctrl+Shift+P to bring up the Command Palette, start typing "config" to filter the list of available commands, then select the Configure Language command. See Docs for more information.

Contributing

The translation strings are maintained in "DevTools — VS Code" project in Microsoft Localization Community Platform (MLCP).

If you’d like to participate in the effort either to contribute translation or improve translation, see community localization page for more information.

License

The source code and strings are licensed under the MIT license.

Credits

Russian Language Pack is brought to you through "By the community, for the community" community localization effort.

Special thanks to community contributors for making it available.

Contributors:

  • Mikhail Zabaluev
  • Ivan
  • Svitlana Galianova
  • Aleksey Nemiro
  • sberbanker
  • Nikita Gryzlov
  • Veronika Kolesnikova
  • Valeriy Schepak
  • Kirill Moskvichev
  • Alexander Filimonov
  • Anton Afonin
  • Serge Rodionov
  • Артем Мельниченко
  • Orrchy
  • Roman
  • Acupofspirt
  • Артём Давыдов
  • Andrei Makarov
  • Romanenko Alexey
  • Roman Sokolov
  • Andrei Pryymak

Рекомендуем к прочтению

Добавить комментарий

Ваш адрес email не будет опубликован.