-
The window API used in nls.locale cannot be used on the backend. Is there any other way to get the translation locale used by the frontend on the backend? theia/packages/core/src/common/nls.ts Line 27 in 7012fd2 |
Beta Was this translation helpful? Give feedback.
Answered by
msujew
Mar 8, 2024
Replies: 1 comment 1 reply
-
Hey @noneghost, The |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
noneghost
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @noneghost,
The
LocalizationProvider
backend service contains the locale of the most recently connected frontend. This should be accurate enough to localize messages on the backend.