mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-14 02:55:00 -05:00
feat: Auto-detect the user's language or set a default language. #711
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @PasserDreamer on GitHub (Apr 24, 2024).
Is your feature request related to a problem? Please describe.
When accessing the WebUI for the first time or from another device, the language is set to English, and it remains unchanged even after login, even if the language setting was previously altered during an earlier session.
Describe the solution you'd like
Allow the WebUI to detect the user's browser language and automatically change the locale.
Add an environment variable
WEBUI_LANGUAGEto set a default language.@justinh-rahb commented on GitHub (Apr 24, 2024):
Edit
backend/config.jsonor use this command for Docker install:@tjbck commented on GitHub (May 26, 2024):
Added to our dev branch!
@saxsoares commented on GitHub (Jun 5, 2024):
Despite the "Auto-detect" user's language.... How to force a default language?
@omeryounus commented on GitHub (Oct 19, 2024):
this command didn't work --> docker exec -it open-webui sed -i 's/"en-US"/""/g' /app/backend/data/config.json
error out as...