Paul Verest
Paul Verest

Reputation: 63912

How to change UI language in Visual Studio Code?

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

Chinese

Upvotes: 74

Views: 80782

Answers (10)

Simon Arnold
Simon Arnold

Reputation: 16177

  1. Open VS Code palette. Mac: āŒ˜+ā‡§+p, Windows: ctrl+ā‡§+p
  2. Type: Display
  3. Select: Configure Display Language enter image description here
  4. Choose the desired language

Upvotes: 0

Eric Bole-Feysot
Eric Bole-Feysot

Reputation: 15107

  • 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')

More info Here

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.

Example: "locale":"en-US"

  • Save
  • Restart vscode

Upvotes: 140

kokociel
kokociel

Reputation: 529

As a Ubuntu user, the only option that seemed available to me was to start Visual Studio Code at the command line, explicitly specifying the language:

code --locale en

(The interface had been in French, due to the language I'd applied for my operating system. I'm trying to learn French, but having VSCode in French was a bit much, I still need to earn money writing software šŸ˜›)

https://code.visualstudio.com/docs/getstarted/locales

Upvotes: 0

KyloRen
KyloRen

Reputation: 2741

See "Display Language" https://code.visualstudio.com/docs/getstarted/locales

I had trouble with this and the answer from Eric Bole-Feysot did not help as it is missing an important step.

  1. Open VS Code
  2. Press F1
  3. Type "configure display language"
  4. Select "configure display language" from the options displayed beneath the inputbox
  5. Change JSON to

"locale": "en-US"

  1. Close window and be prompted to save.
  2. Re-start VS code

enter image description here

Hope that helps.

Upvotes: 26

ShunChan
ShunChan

Reputation: 31

  1. Preferences->Extension
  2. search "LanguageName Language Pack"
    (example) "English Language Pack"
  3. Install

Upvotes: 3

Asuka Wang
Asuka Wang

Reputation: 1

For mac OS user: At $home/Library/Application Support/Code/User, create a new file with name "locale.json" (it wasn't there for me), and type:

{
  "locale": "en-US"
}

Worked for me. The latter part is the same to others' answer I guess, just there wasn't "locale.json" for me so I tried creating it myself, found it worked.

Upvotes: 0

Hongsoog
Hongsoog

Reputation: 553

For Windows user,

Go to following folder, C:\Users\UserName\AppData\Roaming\Code\User

Edit locale.json or create it, if not exist with following content

{
 "locale":"en"
}

Supported locales can be found in the following links https://go.microsoft.com/fwlink/?LinkId=761051

Cheers

Upvotes: 4

Ralf
Ralf

Reputation: 1108

In Visual Studio Community for Mac 7.0 go to

Settings->Visual Style->User Interface Language

Upvotes: 0

JeffQ
JeffQ

Reputation: 104

Please refer to VSCode Display Language.

  1. Change language for temporary folder

click: File->Preferences->Settings, User seting json file will open and add " "locale"="en" ", save the file and restart. Or you can use a command: >>> code . --locale=[lang] (lang refer to language code)

  1. Permanently change language

Press Ctrl+Shift+P to bring up the Command Palette then start typing "config" to filter and display the Configure Language command. Add " "locale"="en" " into the Jason file, save and restart

Upvotes: 2

Wosi
Wosi

Reputation: 45243

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

  • Change the file content to

    {
         "locale":"en-US"
    }
    
  • Open VSCode again

Upvotes: 34

Related Questions