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

Unreliable loading for zh lang #14

Open
yfdyh000 opened this issue Dec 29, 2021 · 0 comments
Open

Unreliable loading for zh lang #14

yfdyh000 opened this issue Dec 29, 2021 · 0 comments

Comments

@yfdyh000
Copy link
Contributor

There are some complex changes in translation loading.
According to user report and tests, the latest version (4.3.1) of this tool is likely to give an error or fail for Chinese users. Like:

  • Uncaught TypeError: users.indexOf is not a function
  • ⧼not-on-list⧽
  • Uncaught TypeError: Cannot set properties of undefined (setting 'zh_hans')

At least the if (JWB.allowed === true && JWB.messages.length == langs + 1) { // if there are two languages to load, wait for them both be suspicious, the zh-cn locale will got "zh-hans"*2 in langs and about five groups in JWB.messages.

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

1 participant