[PR #1307] [CLOSED] FEAT: Add i18n Multi-language support #3649

Closed
opened 2026-02-22 18:34:13 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/1307
Author: @linux6200
Created: 5/8/2024
Status: Closed

Base: masterHead: newfeature-i18n


📝 Commits (1)

  • e3ae30f FEAT: Add i18n Multi-language support

📊 Changes

15 files changed (+349 additions, -160 deletions)

View changed files

📝 frontend/package.json (+3 -1)
frontend/public/locales/en/settings.json (+23 -0)
frontend/public/locales/zh/settings.json (+23 -0)
📝 frontend/src/App.jsx (+1 -0)
📝 frontend/src/components/SettingsSidebar/index.jsx (+18 -15)
frontend/src/pages/GeneralSettings/Appearance/Language/index.jsx (+34 -0)
📝 frontend/src/pages/GeneralSettings/Appearance/index.jsx (+6 -2)
📝 frontend/src/pages/GeneralSettings/Chats/index.jsx (+3 -1)
📝 frontend/src/pages/GeneralSettings/EmbeddingPreference/index.jsx (+4 -1)
📝 frontend/src/pages/GeneralSettings/LLMPreference/index.jsx (+136 -136)
📝 frontend/src/pages/GeneralSettings/Security/index.jsx (+9 -4)
frontend/src/utils/locale/i18n.ts (+20 -0)
frontend/src/utils/locale/i18next.d.ts (+8 -0)
frontend/src/utils/locale/resources.ts (+27 -0)
📝 frontend/yarn.lock (+34 -0)

📄 Description

Pull Request Type

  • [x ] feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

What is in this change?

  • Multi-language support base on i18n

  • Add English and Chinese language choose in Appearance page

  • update menu item for i18n

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • [x ] I have tested my code functionality
  • Docker build succeeds locally

🔄 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/Mintplex-Labs/anything-llm/pull/1307 **Author:** [@linux6200](https://github.com/linux6200) **Created:** 5/8/2024 **Status:** ❌ Closed **Base:** `master` ← **Head:** `newfeature-i18n` --- ### 📝 Commits (1) - [`e3ae30f`](https://github.com/Mintplex-Labs/anything-llm/commit/e3ae30f04f2d7132bbc636af77b8bd5214be789d) FEAT: Add i18n Multi-language support ### 📊 Changes **15 files changed** (+349 additions, -160 deletions) <details> <summary>View changed files</summary> 📝 `frontend/package.json` (+3 -1) ➕ `frontend/public/locales/en/settings.json` (+23 -0) ➕ `frontend/public/locales/zh/settings.json` (+23 -0) 📝 `frontend/src/App.jsx` (+1 -0) 📝 `frontend/src/components/SettingsSidebar/index.jsx` (+18 -15) ➕ `frontend/src/pages/GeneralSettings/Appearance/Language/index.jsx` (+34 -0) 📝 `frontend/src/pages/GeneralSettings/Appearance/index.jsx` (+6 -2) 📝 `frontend/src/pages/GeneralSettings/Chats/index.jsx` (+3 -1) 📝 `frontend/src/pages/GeneralSettings/EmbeddingPreference/index.jsx` (+4 -1) 📝 `frontend/src/pages/GeneralSettings/LLMPreference/index.jsx` (+136 -136) 📝 `frontend/src/pages/GeneralSettings/Security/index.jsx` (+9 -4) ➕ `frontend/src/utils/locale/i18n.ts` (+20 -0) ➕ `frontend/src/utils/locale/i18next.d.ts` (+8 -0) ➕ `frontend/src/utils/locale/resources.ts` (+27 -0) 📝 `frontend/yarn.lock` (+34 -0) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x ] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> * Multi-language support base on i18n * Add English and Chinese language choose in Appearance page * update menu item for i18n ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> ### Developer Validations <!-- All of the applicable items should be checked. --> - [ ] I ran `yarn lint` from the root of the repo & committed changes - [ ] Relevant documentation has been updated - [x ] I have tested my code functionality - [ ] Docker build succeeds locally --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:34:13 -05:00
yindo closed this issue 2026-02-22 18:34:13 -05:00
yindo changed title from [PR #1307] FEAT: Add i18n Multi-language support to [PR #1307] [CLOSED] FEAT: Add i18n Multi-language support 2026-06-05 15:14:30 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#3649