[PR #3414] [CLOSED] Set direction depending on the active locale + update Translation #4280

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

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/3414
Author: @Saidoua
Created: 3/7/2025
Status: Closed

Base: masterHead: master


📝 Commits (2)

📊 Changes

50 files changed (+376 additions, -225 deletions)

View changed files

📝 frontend/src/App.jsx (+2 -0)
📝 frontend/src/components/ChangeWarning/index.jsx (+2 -1)
📝 frontend/src/components/DefaultChat/index.jsx (+16 -2)
📝 frontend/src/components/Footer/index.jsx (+5 -3)
📝 frontend/src/components/Modals/ManageWorkspace/Documents/Directory/NewFolderModal/index.jsx (+2 -1)
📝 frontend/src/components/Modals/ManageWorkspace/index.jsx (+2 -1)
📝 frontend/src/components/Modals/NewWorkspace.jsx (+3 -2)
📝 frontend/src/components/SettingsButton/index.jsx (+3 -1)
📝 frontend/src/components/SettingsSidebar/index.jsx (+4 -4)
📝 frontend/src/components/Sidebar/SidebarToggle/index.jsx (+10 -6)
📝 frontend/src/components/Sidebar/index.jsx (+11 -4)
📝 frontend/src/components/UserMenu/AccountModal/index.jsx (+2 -1)
📝 frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/Citation/index.jsx (+2 -1)
📝 frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SlashCommands/SlashPresets/AddPresetModal.jsx (+2 -1)
📝 frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SlashCommands/SlashPresets/EditPresetModal.jsx (+2 -1)
frontend/src/hooks/useLocalizeDocumentAttributes.js (+17 -0)
📝 frontend/src/locales/ar/common.js (+176 -164)
📝 frontend/src/locales/en/common.js (+11 -0)
📝 frontend/src/pages/Admin/Agents/SQLConnectorSelection/NewConnectionModal.jsx (+2 -1)
📝 frontend/src/pages/Admin/Agents/WebSearchSelection/index.jsx (+4 -1)

...and 30 more files

📄 Description

Pull Request Type

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

Relevant Issues

resolves #xxx

What is in this change?

Set the document direction depending on the active locale (ltl rtl ) + adapt style,modals css + add translations keys + Arabic translation update

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • 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/3414 **Author:** [@Saidoua](https://github.com/Saidoua) **Created:** 3/7/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`a1517e1`](https://github.com/Mintplex-Labs/anything-llm/commit/a1517e150dc9f9a05f30a3a3daa4cee5d03fdd89) Set the document direction depending on the active locale (ltl rtl ) + adapt style,modals css + add translations keys + Arabic translation update - [`54ad1e7`](https://github.com/Mintplex-Labs/anything-llm/commit/54ad1e7ec3faae5cada1395490b8f54003f1b7e9) Merge branch 'master' of https://github.com/Saidoua/anything-llm ### 📊 Changes **50 files changed** (+376 additions, -225 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/App.jsx` (+2 -0) 📝 `frontend/src/components/ChangeWarning/index.jsx` (+2 -1) 📝 `frontend/src/components/DefaultChat/index.jsx` (+16 -2) 📝 `frontend/src/components/Footer/index.jsx` (+5 -3) 📝 `frontend/src/components/Modals/ManageWorkspace/Documents/Directory/NewFolderModal/index.jsx` (+2 -1) 📝 `frontend/src/components/Modals/ManageWorkspace/index.jsx` (+2 -1) 📝 `frontend/src/components/Modals/NewWorkspace.jsx` (+3 -2) 📝 `frontend/src/components/SettingsButton/index.jsx` (+3 -1) 📝 `frontend/src/components/SettingsSidebar/index.jsx` (+4 -4) 📝 `frontend/src/components/Sidebar/SidebarToggle/index.jsx` (+10 -6) 📝 `frontend/src/components/Sidebar/index.jsx` (+11 -4) 📝 `frontend/src/components/UserMenu/AccountModal/index.jsx` (+2 -1) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/Citation/index.jsx` (+2 -1) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SlashCommands/SlashPresets/AddPresetModal.jsx` (+2 -1) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SlashCommands/SlashPresets/EditPresetModal.jsx` (+2 -1) ➕ `frontend/src/hooks/useLocalizeDocumentAttributes.js` (+17 -0) 📝 `frontend/src/locales/ar/common.js` (+176 -164) 📝 `frontend/src/locales/en/common.js` (+11 -0) 📝 `frontend/src/pages/Admin/Agents/SQLConnectorSelection/NewConnectionModal.jsx` (+2 -1) 📝 `frontend/src/pages/Admin/Agents/WebSearchSelection/index.jsx` (+4 -1) _...and 30 more files_ </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #xxx ### What is in this change? Set the document direction depending on the active locale (ltl rtl ) + adapt style,modals css + add translations keys + Arabic translation update ### 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. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [ ] Relevant documentation has been updated - [x] I have tested my code functionality - [x] 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:35:30 -05:00
yindo closed this issue 2026-02-22 18:35:30 -05:00
yindo changed title from [PR #3414] Set direction depending on the active locale + update Translation to [PR #3414] [CLOSED] Set direction depending on the active locale + update Translation 2026-06-05 15:17:45 -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#4280