[PR #6898] [CLOSED] i18n: Completing the i18n text and improving the translation of zh-CN. #8771

Closed
opened 2025-11-11 18:05:36 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/6898
Author: @Menghuan1918
Created: 11/13/2024
Status: Closed

Base: devHead: dev


📝 Commits (4)

  • c2db61a chore: Add all i18n texts
  • 026ef66 Update some zh-CN i18n
  • ce77a54 Update translations
  • ffc7da7 Merge branch 'open-webui:dev' into dev

📊 Changes

47 files changed (+9269 additions, -7077 deletions)

View changed files

📝 src/lib/i18n/locales/ar-BH/translation.json (+186 -153)
📝 src/lib/i18n/locales/bg-BG/translation.json (+183 -150)
📝 src/lib/i18n/locales/bn-BD/translation.json (+183 -150)
📝 src/lib/i18n/locales/ca-ES/translation.json (+184 -151)
📝 src/lib/i18n/locales/ceb-PH/translation.json (+183 -150)
📝 src/lib/i18n/locales/cs-CZ/translation.json (+185 -152)
📝 src/lib/i18n/locales/da-DK/translation.json (+183 -150)
📝 src/lib/i18n/locales/de-DE/translation.json (+183 -150)
📝 src/lib/i18n/locales/dg-DG/translation.json (+184 -151)
📝 src/lib/i18n/locales/en-GB/translation.json (+183 -150)
📝 src/lib/i18n/locales/en-US/translation.json (+183 -150)
📝 src/lib/i18n/locales/es-ES/translation.json (+184 -151)
📝 src/lib/i18n/locales/fa-IR/translation.json (+249 -216)
📝 src/lib/i18n/locales/fi-FI/translation.json (+183 -150)
📝 src/lib/i18n/locales/fr-CA/translation.json (+190 -157)
📝 src/lib/i18n/locales/fr-FR/translation.json (+189 -156)
📝 src/lib/i18n/locales/he-IL/translation.json (+184 -151)
📝 src/lib/i18n/locales/hi-IN/translation.json (+185 -152)
📝 src/lib/i18n/locales/hr-HR/translation.json (+184 -151)
📝 src/lib/i18n/locales/hu-HU/translation.json (+183 -150)

...and 27 more files

📄 Description

Pull Request Checklist

Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.

Before submitting, make sure you've checked the following:

  • Target branch: Please verify that the pull request targets the dev branch.
  • Description: Provide a concise description of the changes made in this pull request.
  • Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
  • Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
  • Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
  • Testing: Have you written and run sufficient tests for validating the changes?
  • Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
  • Prefix: To cleary categorize this pull request, prefix the pull request title, using one of the following:
    • BREAKING CHANGE: Significant changes that may affect compatibility
    • build: Changes that affect the build system or external dependencies
    • ci: Changes to our continuous integration processes or workflows
    • chore: Refactor, cleanup, or other non-functional code changes
    • docs: Documentation update or addition
    • feat: Introduces a new feature or enhancement to the codebase
    • fix: Bug fix or error correction
    • i18n: Internationalization or localization changes
    • perf: Performance improvement
    • refactor: Code restructuring for better maintainability, readability, or scalability
    • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.)
    • test: Adding missing tests or correcting existing tests
    • WIP: Work in progress, a temporary label for incomplete or ongoing work

Changelog Entry

Description

  • Since a lot of i18n text doesn't appear in the translated file, I wrote a simple go program to find all the i18n text and add it to the translation.json
  • Improved translation of zh-CN language

Additional Information


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/6898 **Author:** [@Menghuan1918](https://github.com/Menghuan1918) **Created:** 11/13/2024 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `dev` --- ### 📝 Commits (4) - [`c2db61a`](https://github.com/open-webui/open-webui/commit/c2db61a4e7b4511ac0c9731effb0c880e393f2a9) chore: Add all i18n texts - [`026ef66`](https://github.com/open-webui/open-webui/commit/026ef66e08f8cf58438d0a76e12b2b5dd2930807) Update some zh-CN i18n - [`ce77a54`](https://github.com/open-webui/open-webui/commit/ce77a54d0ce8b41bd2e2222c487861b73c837db7) Update translations - [`ffc7da7`](https://github.com/open-webui/open-webui/commit/ffc7da73e8846bd6a52ebacf105ccaa467990fed) Merge branch 'open-webui:dev' into dev ### 📊 Changes **47 files changed** (+9269 additions, -7077 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/i18n/locales/ar-BH/translation.json` (+186 -153) 📝 `src/lib/i18n/locales/bg-BG/translation.json` (+183 -150) 📝 `src/lib/i18n/locales/bn-BD/translation.json` (+183 -150) 📝 `src/lib/i18n/locales/ca-ES/translation.json` (+184 -151) 📝 `src/lib/i18n/locales/ceb-PH/translation.json` (+183 -150) 📝 `src/lib/i18n/locales/cs-CZ/translation.json` (+185 -152) 📝 `src/lib/i18n/locales/da-DK/translation.json` (+183 -150) 📝 `src/lib/i18n/locales/de-DE/translation.json` (+183 -150) 📝 `src/lib/i18n/locales/dg-DG/translation.json` (+184 -151) 📝 `src/lib/i18n/locales/en-GB/translation.json` (+183 -150) 📝 `src/lib/i18n/locales/en-US/translation.json` (+183 -150) 📝 `src/lib/i18n/locales/es-ES/translation.json` (+184 -151) 📝 `src/lib/i18n/locales/fa-IR/translation.json` (+249 -216) 📝 `src/lib/i18n/locales/fi-FI/translation.json` (+183 -150) 📝 `src/lib/i18n/locales/fr-CA/translation.json` (+190 -157) 📝 `src/lib/i18n/locales/fr-FR/translation.json` (+189 -156) 📝 `src/lib/i18n/locales/he-IL/translation.json` (+184 -151) 📝 `src/lib/i18n/locales/hi-IN/translation.json` (+185 -152) 📝 `src/lib/i18n/locales/hr-HR/translation.json` (+184 -151) 📝 `src/lib/i18n/locales/hu-HU/translation.json` (+183 -150) _...and 27 more files_ </details> ### 📄 Description # Pull Request Checklist ### Note to first-time contributors: Please open a discussion post in [Discussions](https://github.com/open-webui/open-webui/discussions) and describe your changes before submitting a pull request. **Before submitting, make sure you've checked the following:** - [x] **Target branch:** Please verify that the pull request targets the `dev` branch. - [x] **Description:** Provide a concise description of the changes made in this pull request. - [ ] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description. - [ ] **Documentation:** Have you updated relevant documentation [Open WebUI Docs](https://github.com/open-webui/docs), or other documentation sources? - [ ] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation? - [ ] **Testing:** Have you written and run sufficient tests for validating the changes? - [ ] **Code review:** Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards? - [x] **Prefix:** To cleary categorize this pull request, prefix the pull request title, using one of the following: - **BREAKING CHANGE**: Significant changes that may affect compatibility - **build**: Changes that affect the build system or external dependencies - **ci**: Changes to our continuous integration processes or workflows - **chore**: Refactor, cleanup, or other non-functional code changes - **docs**: Documentation update or addition - **feat**: Introduces a new feature or enhancement to the codebase - **fix**: Bug fix or error correction - **i18n**: Internationalization or localization changes - **perf**: Performance improvement - **refactor**: Code restructuring for better maintainability, readability, or scalability - **style**: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.) - **test**: Adding missing tests or correcting existing tests - **WIP**: Work in progress, a temporary label for incomplete or ongoing work # Changelog Entry ### Description - Since a lot of i18n text doesn't appear in the translated file, I wrote a simple go program to find all the i18n text and add it to the translation.json - Improved translation of zh-CN language --- ### Additional Information - https://github.com/open-webui/open-webui/discussions/6897 - Using a go program is used to find and add text that does not appear in the translation.json: [i18nupdate.go](https://gist.github.com/Menghuan1918/a542809c04a53b21ce66308f350084a7) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-11 18:05:36 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#8771