lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Azure / DeepSeek), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT/ Claude application.
https://chat-preview.lobehub.com
Other
40.72k stars 9.27k forks source link

[Bug] Language settings are not working correctly #586

Closed magicnov closed 9 months ago

magicnov commented 9 months ago

💻 系统环境 | 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

lobehubbot commented 9 months ago

👀 @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 commented 9 months ago

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

magicnov commented 9 months ago

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

mushan0x0 commented 9 months ago

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 commented 9 months ago

@mushan0x0 @magicnov are you using docker version or vercel version?

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

mushan0x0 commented 9 months ago

@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 commented 9 months ago

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

mushan0x0 commented 9 months ago

Maybe I can fix this issue.

magicnov commented 9 months ago

Maybe I can fix this issue.

Any updates?

mushan0x0 commented 9 months ago

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 commented 9 months ago

✅ @magicnov

This issue is closed, If you have any questions, you can comment and reply.\ 此问题已经关闭。如果您有任何问题,可以留言并回复。

lobehubbot commented 9 months ago

:tada: This issue has been resolved in version 0.110.7 :tada:

The release is available on:

Your semantic-release bot :package::rocket: