mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[PR #15840] [CLOSED] feat: Support general translations (includes translation for title and prompt in workspace and Banners) #62812
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?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/15840
Author: @alvarellos
Created: 7/18/2025
Status: ❌ Closed
Base:
dev← Head:feature/Support-multi-language-title-and-prompt-in-workspace📝 Commits (10+)
80af49dSupport translations for title and prompt in workspace876db8emerge version v0.6.25058de98fature/support-multi-language- add header to identify selected language and send to backend for translationa280f65add the configuration for selecting the languages codes son they can be used for translationscb86c01Merge branch 'main' into feature/Support-multi-language-title-and-prompt-in-workspacefa33c94use the configuration languages for all Title Models, Suggested Prompts and Banners. So this is now ready for translations globally6dddd5dfix sync in between text area and modal3990330translation also for info name of the model api endpointc5a0711updated to version 0.6.36 hopefully for the last time that I need to do thisc23ea22return files which were erased by conda environment📊 Changes
18 files changed (+1151 additions, -136 deletions)
View changed files
📝
backend/open_webui/config.py(+6 -0)📝
backend/open_webui/main.py(+3 -0)📝
backend/open_webui/routers/tasks.py(+8 -1)📝
backend/open_webui/utils/models.py(+34 -1)➕
src/hooks.client.ts(+33 -0)📝
src/lib/apis/models/index.ts(+29 -1)📝
src/lib/components/admin/Settings/Interface.svelte(+74 -0)📝
src/lib/components/admin/Settings/Interface/Banners.svelte(+286 -98)➕
src/lib/components/admin/Settings/LangPicker.svelte(+135 -0)📝
src/lib/components/admin/Settings/Models.svelte(+41 -1)📝
src/lib/components/chat/Suggestions.svelte(+34 -6)📝
src/lib/components/common/Banner.svelte(+3 -1)📝
src/lib/components/workspace/Models.svelte(+6 -3)📝
src/lib/components/workspace/Models/ModelEditor.svelte(+291 -19)📝
src/lib/i18n/index.ts(+163 -5)📝
src/lib/stores/index.ts(+1 -0)📝
src/routes/(app)/+layout.svelte(+2 -0)📝
src/routes/+layout.svelte(+2 -0)📄 Description
Pull Request Checklist
Discussion opened
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Added
Changed
Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
Screenshots or Videos
Add the desired languages needed for the translations.
Edit the Model title languages and Suggested Prompts in Model Workspace.
Edit pop up form with the selected languages in the configuration section.
Banners can also be translated.
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.