-
Notifications
You must be signed in to change notification settings - Fork 767
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pylance error message appears in Chinese despite English language settings #6628
Comments
Thanks for reaching out, this might be a duplicate of microsoft/vscode#230172. Are your repro steps the same as in that issue? If not, could you please provide your steps and some sample code? Thanks! |
For reproducing the
|
Thanks! The debug failure you encountered is what caused Pylance to crash. The text you saw at the end of the logs is likely a dump of the source at the time of the crash; the actual call stack appears right after the Debug Failure message. This is the same issue as the one linked, triggered by the |
Environment data
Code Snippet
My pylance seems to be crashing because some reference error in Copilot chat. Most of the error messages are in English, consistent with my system language and VSC display language. But the "Pylance crashes..." error which is both prompted by a pop-up and shown in the output is in Chinese.
Of course the message itself is clear in its content. But I want to know how does pylance decide the language to output, because it feels quite awkward that the extension seemingly knows where I am.
The text was updated successfully, but these errors were encountered: