Skip to content

How do I get the current locale language used by nls on the backend, and nls.locale cannot be used on the backend? #13470

Answered by msujew
noneghost asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@noneghost
Comment options

Answer selected by noneghost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants