Skip to content

vs code python uses system language, not vs code display language #3307

@berend

Description

@berend

Environment data

  • VS Code version: 1.28.2
  • Extension version: 2018.10.1
  • OS and version: MacOS High Sierra 10.13.6
  • Python version: 3.7.0
  • Type of virtual environment used: virtualenv
  • Relevant/affected Python packages and their versions: none

Actual behavior

VS Code python extension uses system language in stead of vs code language settings. System language is german, vs code display language is english. vs-code-python language (in command palette) is german.

Expected behavior

VS Code python extension honors the configuration of VS Code and language is the same throughout VS Code. So, vs-code-python language should be english, as stated in vs code display language.

Steps to reproduce:

  1. switch mac os to some different language than english (german in my case, this was my macs default)
  2. install vs code & vs code python settings
  3. change vs code Display language to english
  4. type "> python" into command palette

Pythons command palette(All german except the Jupyter cell commands):
bildschirmfoto 2018-11-12 um 10 20 55
Language settings of MacOS
bildschirmfoto 2018-11-12 um 10 24 09

Output of locale on the terminal:

$ locale
LANG="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_CTYPE="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_ALL=

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue identified by VS Code Team member as probable bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions