MindfulMinun
MindfulMinun6mo ago

How can I change the human language used by the LSP?

Hi team. I'm using Deno and VSCode. The errors and warnings reported by the LSP are marked in English. Previously, it respected my system's locale, but that is no longer the case. My first instinct was to change the typescript human language setting by changing the locale like this in my VSCode config.
"typescript.locale": "es"
"typescript.locale": "es"
Of course, this doesn't change anything. I also couldn't find a similar setting for Deno. How can I restore this functionality? Thanks.
2 Replies
Deno AI Helper
Deno AI Helper6mo ago
I wasn't able to find the answer to your question in the official Deno documentation. However, based on the information you've provided in your message, it seems like you've attempted to change the language settings for TypeScript, which might not directly affect Deno's language settings in VSCode. Please note that the advice I'm providing is not based on the Deno documentation, and I would advise you to double-check the accuracy of this advice. If you're looking to change the language settings specifically for Deno's Language Server Protocol (LSP) in VSCode, and there isn't a direct setting available in the Deno extension, you might need to look into whether the Deno extension respects the locale setting of VSCode itself or if it has its own separate configuration. In the meantime, you could try setting the VSCode display language to your preferred language by following these steps: 1. Press Ctrl+Shift+P to open the Command Palette. 2. Type "Configure Display Language" and select the command. 3. Choose your desired language from the list of available languages. This might not directly affect the Deno LSP, but it's worth a try as a general language setting in VSCode. If this doesn't resolve your issue, I would recommend reaching out to the Deno community or checking the GitHub issues for the Deno VSCode extension for more specific assistance.
MindfulMinun
MindfulMinunOP6mo ago
Seems like a regression

Did you find this page helpful?