-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
zh-CH global setting not fully effective #2544
Comments
@Abrynos can you check if this could be related to our handling of user language in IPC calls? I have a gut feeling telling me that something here changes the thread culture and doesn't put it back on. |
@luyu911 How are you stopping the bot? Are you using ASF-ui (or any other IPC integration) or are you using commands in steam chat? |
@Abrynos ASF-ui |
Thank you. Which language did you configure in your browser? And which one (if any) did you configure in ASF-ui? |
@Abrynos all chinese |
@luyu911 please open dev tools in your web browser (usually F12 button on your keyboard should do that), then navigate to "network tab". Open ASF-ui now, network tab should be filled with various entries, find Then copy-paste for us the value of In my example above it's |
@JustArchi Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6 |
Thanks, that should be enough for now in order for us to reproduce and tackle it down. |
If you'd like to you can check ASF pre-release version V5.2.4.2 (or newer), the issue should no longer happen. Also thank you for supporting our OSS initiative 😎 |
@JustArchi @Abrynos Cool, this error no longer appears, thank you for your patience and quick fix.👍 |
Checklist
ASF version
Latest stable release
ASF variant
docker-linux/amd64
Bug description
When I use the zh-CH global setting, everything works fine at the beginning of startup, if you add an enable: true bot, the log will normally display Chinese, but when I start this bot for the second time, it will start to show English. In fact, I started to encounter this problem on version 5.2.2.5. But this problem remains in 5.2.3.7.
Expected behavior
Chinese is displayed all the time
Actual behavior
At first the log showed Chinese, but when I started a robot, it showed english
Steps to reproduce
Possible reason/solution
No response
Can you help us with this bug report?
Somehow, I can test and offer feedback, but can't code
Full log.txt recorded during reproducing the problem
Global ASF.json config file
BotName.json config of all affected bot instances
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: