Skip to content
New issue

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

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

Already on GitHub? # to your account

[Feature] Robustness #19106

Closed
ultravires opened this issue Sep 11, 2023 · 0 comments · Fixed by #19107
Closed

[Feature] Robustness #19106

ultravires opened this issue Sep 11, 2023 · 0 comments · Fixed by #19107
Labels
en This issue is in English enhancement i18n

Comments

@ultravires
Copy link
Contributor

What problem does this feature solve?

Update src/core/locale.ts:

const langStr = (
        /* eslint-disable-next-line */
        document.documentElement.lang || navigator.language || (navigator as any).browserLanguage
    ).toUpperCase();
const langStr = (
        /* eslint-disable-next-line */
        document.documentElement.lang || navigator.language || (navigator as any).browserLanguage || DEFAULT_LOCALE
    ).toUpperCase();

What does the proposed API look like?

Nothing.

@echarts-bot echarts-bot bot added en This issue is in English pending We are not sure about whether this is a bug/new feature. labels Sep 11, 2023
@plainheart plainheart removed new-feature pending We are not sure about whether this is a bug/new feature. labels Sep 11, 2023
@plainheart plainheart linked a pull request Sep 12, 2023 that will close this issue
8 tasks
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
en This issue is in English enhancement i18n
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants