Internationalization - Tool Palette #1529
Answered
by
martin-fleck-at
jmenzies12
asked this question in
Q&A
-
Hey there, We are in the process of internationalizing our application and are using nls (l10n) for all of the commands and menus contributed to vscode. For the Tool Palette, I was wondering if it was possible to get to the values without extending the whole Tool Palette? If there is something I can do that would work for everyone I would happily contribute it. Cheers |
Beta Was this translation helpful? Give feedback.
Answered by
martin-fleck-at
Jun 26, 2025
Replies: 1 comment 4 replies
-
@martin-fleck-at Could you please have a look at this. (Since you were already working on i18n for GLSP previously) |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It shouldn't matter when you update the messages since we do have listeners and re-create the affected UI if the messages change. So if it doesn't happen super early on, I think everything should still get translated properly.
Unfortunately, there is currently no reliable way to defer action dispatching from the extension side until the diagram has been initialized (cf #1513). What you could try to do as a workaround for now is to wait for the client to be ready and then send the action with a timeout. So something like: