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

Updated to v2.9.0 zh_tw cannot be displayed #1700

Closed
BrownRhined opened this issue Dec 20, 2023 · 1 comment · Fixed by #1704
Closed

Updated to v2.9.0 zh_tw cannot be displayed #1700

BrownRhined opened this issue Dec 20, 2023 · 1 comment · Fixed by #1704
Labels
⚡ Type: Bug Something isn't working
Milestone

Comments

@BrownRhined
Copy link
Contributor

BrownRhined commented Dec 20, 2023

Mainsail Version:

v2.9.0

Browser:

Chrome

Device:

Desktop PC

Operating System:

Windows

What happened?

I'm trying to understand if it's a translation file error
But I believe it is caused by a JavaScript error
I'm checking the problem
If you know the changes and the problem
Then please help correct it

What did you expect to happen instead?

zh_tw cannot be displayed

How to reproduce this bug?

switch language 繁體中文

Additional information:

No response

@BrownRhined BrownRhined added the ⚡ Type: Bug Something isn't working label Dec 20, 2023
@panglikesheep18
Copy link

I also found this bug and the issue with JS was a part of the culprit
Culprit of the issue
but I found a workaround.
First, connect to your printer via SSH
then enter "sudo nano ~/mainsail/config.json"
Replace "en" in defaultLocate with "zh_TW" (case-sensitive) (like "defaultLocale": "zh_TW" but don't change anything besides this), it should look like this if you done this properly
config.json with a workaround, defaultLocale: en is replaced with defaultLocale: zh_TW, on Mainsail 2.9.0

Save it and reload cache in your browser.
and enjoy

@meteyou meteyou added this to the vNext milestone Dec 21, 2023
@meteyou meteyou modified the milestones: vNext, v2.9.1 Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚡ Type: Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants