Skip to content

Global locale doesn't change the entire language #1332

Answered by bytemain
mister-teddy asked this question in Q&A
Discussion options

You must be logged in to vote

v2.19 should already fix this problem.

But in this version, we still have to set the language of Monaco separately:

https://github.com/opensumi/core/blob/main/packages/startup/entry/web/app.tsx#L5

In the top of your code entry, using the func: setLocale

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@mister-teddy
Comment options

Comment options

You must be logged in to vote
2 replies
@mister-teddy
Comment options

@bytemain
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by bytemain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants