Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

locale setting not working #97

Open
stefanschlipfi opened this issue Oct 8, 2024 · 2 comments
Open

locale setting not working #97

stefanschlipfi opened this issue Oct 8, 2024 · 2 comments

Comments

@stefanschlipfi
Copy link

Hello,

Thank you for your contribution to this amazing open source project. I regret to inform you that the locale setting is not functioning as expected for en-US. I followed the example configuration from https://demo.umodoc.com/editor?lang=en-US. Am I missing something here?

My setting:

"locale": "en-US",

Thanks a lot

Dear Stefan

@developersoftware2
Copy link

did you find as solution for english?

@Devin345458
Copy link

I had to do the following in the mounted hook

if (this.$refs?.editor) { this.$refs.editor.setLocale('en-US') }

to get it to work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants