简体   繁体   English

如何在VSCode中更改Python扩展区域设置?

[英]How to change Python extension locale in VSCode?

I can't figure out how to install the Python extension in VSCode in another language, specifically - I want it to be in English, but instead it is being installed in the language of my operating system, which is Russian. 我无法弄清楚如何用另一种语言在VSCode中安装Python扩展,特别是 - 我希望它是英文的,而是用我的操作系统的语言安装,这是俄语。

How can I install the Python extension in another language, or change the language to English? 如何以其他语言安装Python扩展,或将语言更改为英语?

The VSCode installation is in English. VSCode安装是英文的。 My OS is Windows 7. 我的操作系统是Windows 7。

I've tried googling it, no luck. 我试过谷歌搜索,没有运气。

~~~ My "locale.json" config: ~~~我的“locale.json”配置:

"locale":"en" // Changes will not take effect until VS Code has been 

Ok, solved it. 好的,解决了。

Apparently the solution was to delete the "en" from "locale.json", type it back in.. restart VSCode.. And now the Python extension is in English. 显然,解决方案是从“locale.json”中删除“en”,将其键入...重新启动VSCode ..现在Python扩展名是英文版。 "Truly" great design, Microsoft. 微软“真正”的伟大设计。

In detail the whole procedure is: 详细的整个过程是:

1 - Open VSCode 1 - 打开VSCode

2 - press Ctrl+Shift+P 2 - 按Ctrl+Shift+P

3 - type Configure Display Language -> hit Enter 3 - 键入Configure Display Language - >按Enter键

4 - Delete the current locale("en" in my case), type the desired locale in 4 - 删除当前语言环境(在我的例子中为“en”),在中键入所需的语言环境

5 - Save the file 5 - 保存文件

6 - Exit and re-open VSCode 6 - 退出并重新打开VSCode

7 - Enjoy the fixed language of the extension. 7 - 享受扩展的固定语言。

按照你的指示,在我的“locale.json”配置中,以下值适用于我:

"locale":"en-US" // Changes will not take effect until VS Code has been restarted.

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM