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

[Bug] Language settings are not working correctly #586

Closed
magicnov opened this issue Dec 6, 2023 · 12 comments ยท Fixed by #595
Closed

[Bug] Language settings are not working correctly #586

magicnov opened this issue Dec 6, 2023 · 12 comments ยท Fixed by #595
Labels
๐Ÿ› Bug Something isn't working | ็ผบ้™ท released

Comments

@magicnov
Copy link

magicnov commented Dec 6, 2023

๐Ÿ’ป ็ณป็ปŸ็Žฏๅขƒ | Operating System

macOS

๐ŸŒ ๆต่งˆๅ™จ | Browser

Chrome

๐Ÿ› ้—ฎ้ข˜ๆ่ฟฐ | Bug Description

Language settings are not applied after browser restart

๐Ÿšฆ ๆœŸๆœ›็ป“ๆžœ | Expected Behavior

The site language matches the language in the settings

๐Ÿ“ท ๅค็Žฐๆญฅ้ชค | Recurrence Steps

  1. Set language to Russian
  2. Restart browser and reopen site
  3. Site is in English, but in settings language is set to Russian

๐Ÿ“ ่กฅๅ……ไฟกๆฏ | Additional Information

demo: https://drive.google.com/file/d/1wCqjzxFscaS-u3M2eAbVgx6Yv7JFIZtw/view?usp=sharing

@magicnov magicnov added the ๐Ÿ› Bug Something isn't working | ็ผบ้™ท label Dec 6, 2023
@lobehubbot
Copy link
Member

๐Ÿ‘€ @magicnov

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
้žๅธธๆ„Ÿ่ฐขๆ‚จๆไบค issueใ€‚ๆˆ‘ไปฌไผšๅฐฝๅฟซ่ฐƒๆŸฅๆญคไบ‹๏ผŒๅนถๅฐฝๅฟซๅ›žๅคๆ‚จใ€‚ ่ฏท็กฎไฟๆ‚จๅทฒ็ปๆไพ›ไบ†ๅฐฝๅฏ่ƒฝๅคš็š„่ƒŒๆ™ฏไฟกๆฏใ€‚

@arvinxx
Copy link
Contributor

arvinxx commented Dec 6, 2023

I can't reproduce it on my side. Can you show me more info?

@magicnov
Copy link
Author

magicnov commented Dec 6, 2023

Have you checked the video with the issue demo? I can provide more information, just let me know what you need.

@mushan0x0
Copy link
Contributor

I reproduced the problem.

  1. Select Russian in the settings.
  2. Exit the browser and reopen the page.
  3. The page is still in the system language.

@arvinxx
Copy link
Contributor

arvinxx commented Dec 6, 2023

@mushan0x0 @magicnov are you using docker version or vercel version๏ผŸ

can you reproduce the problem with https://chat-preview.lobehub.com/ ?

@mushan0x0
Copy link
Contributor

@mushan0x0 @magicnov are you using docker version or vercel version๏ผŸ

can you reproduce the problem with https://chat-preview.lobehub.com/ ?

Yes, it was tested on the website https://chat-preview.lobehub.com/.

@arvinxx
Copy link
Contributor

arvinxx commented Dec 7, 2023

I still can't reproduce on my side with https://chat-preview.lobehub.com/

@mushan0x0
Copy link
Contributor

Maybe I can fix this issue.

@magicnov
Copy link
Author

magicnov commented Dec 7, 2023

Maybe I can fix this issue.

Any updates?

@mushan0x0
Copy link
Contributor

Maybe I can fix this issue.

Any updates?

The fixed code has been submitted, you can test it at this link: https://lobe-chat-1-d39h8edt7-mushan0x0.vercel.app

@lobehubbot
Copy link
Member

โœ… @magicnov

This issue is closed, If you have any questions, you can comment and reply.
ๆญค้—ฎ้ข˜ๅทฒ็ปๅ…ณ้—ญใ€‚ๅฆ‚ๆžœๆ‚จๆœ‰ไปปไฝ•้—ฎ้ข˜๏ผŒๅฏไปฅ็•™่จ€ๅนถๅ›žๅคใ€‚

@lobehubbot
Copy link
Member

๐ŸŽ‰ This issue has been resolved in version 0.110.7 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
๐Ÿ› Bug Something isn't working | ็ผบ้™ท released
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants