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] [i18n] Both the front-end and back-end can switch languages, but they are not synchronized #2286

Open
6 of 15 tasks
lkp0000 opened this issue Jan 8, 2025 · 2 comments
Open
6 of 15 tasks
Labels
bug Something isn't working Waiting for reply

Comments

@lkp0000
Copy link

lkp0000 commented Jan 8, 2025

Search before asking

  • I had searched in the issues and found no similar issues.

Operating system information

Linux

Python version information

=3.11

DB-GPT version

main

Related scenes

  • Chat Data
  • Chat Excel
  • Chat DB
  • Chat Knowledge
  • Model Management
  • Dashboard
  • Plugins

Installation Information

Device information

cpu

Models information

llm:openai proxy

What happened

i can change the LANGUAGE value in the env file.it will take effect after restart.and the front-end can also swith languages, but the back-end remains in its original language.

What you expected to happen

   Can the authorities solve this problem? For example, adding 'content-language' field in the api header

How to reproduce

change language can reproduce.such as app list page.

Additional context

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@lkp0000 lkp0000 added bug Something isn't working Waiting for reply labels Jan 8, 2025
@Aries-ckt
Copy link
Collaborator

hi sorry about influence your experience, could you show the what app you use and what expect language you want, en or zh?

@lkp0000
Copy link
Author

lkp0000 commented Jan 9, 2025

hi sorry about influence your experience, could you show the what app you use and what expect language you want, en or zh?

I may know the reason now, maybe it's because some data is read from the database. But I think there are still some small issues:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Waiting for reply
Projects
None yet
Development

No branches or pull requests

2 participants