You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow clients of the LSP library to capture all errors and show customized / localized message. #1262
Hi) I've faced with some not localized phrases in products use your module.
Some packages throw errors and exceptions without any processing (for example: package vscode-languageserver).
Could you, please, add localization for theese phrases?
For example, I faced with that and some other messages:
Most of the error message are kept in English since they should only end-up in Logs/Log output channels. We do this since we would not understand localized message otherwise (it for example can't speak Spanish and could not make any use of a Spanish message in the log).
Most of the error message are kept in English since they should only end-up in Logs/Log output channels. We do this since we would not understand localized message otherwise (it for example can't speak Spanish and could not make any use of a Spanish message in the log).
Yaeh, I understand it, but some products use your product as a dependency and some messages throws in the UI without any processing, and I can't handle it on my side.
Here these messages in the UI.
It came from Theia, but in Theia it had come from the vscode-jsonrpc npm dependency module.
Some time ago, all of these phrases were in the file "vscode-jsonrpc/lib/common/connection.js", it was like this:
"Pending response rejected since connection got disposed"
"Restarting server failed"
"Server initialization failed."
"${this._name} client: couldn't create connection to server."
"The ${this.client.name} server crashed ${this.maxRestartCount + 1} times in the last 3 minutes. The server will not be restarted. See the output for more information."
But not I could find just one phrase.
Here another example of how it looks (not mine) in vscode extension:
changed the title [-]Some error's phrases are not localized[/-][+]Allow clients of the LSP library to capture all errors and show customized / localized message.[/+]on Jul 5, 2023
Activity
dbaeumer commentedon Jul 5, 2023
Most of the error message are kept in English since they should only end-up in Logs/Log output channels. We do this since we would not understand localized message otherwise (it for example can't speak Spanish and could not make any use of a Spanish message in the log).
dbaeumer commentedon Jul 5, 2023
Where do you see these message?
Zebsterpasha commentedon Jul 5, 2023
Yaeh, I understand it, but some products use your product as a dependency and some messages throws in the UI without any processing, and I can't handle it on my side.
Here these messages in the UI.
It came from
Theia, but inTheiait had come from thevscode-jsonrpcnpm dependency module.Some time ago, all of these phrases were in the file "vscode-jsonrpc/lib/common/connection.js", it was like this:
But not I could find just one phrase.
Here another example of how it looks (not mine) in vscode extension:

Issue where I got last picture: microsoft/pylance-release#3391
[-]Some error's phrases are not localized[/-][+]Allow clients of the LSP library to capture all errors and show customized / localized message.[/+]