mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-02 13:57:30 +08:00
Feat/arabic language support (#13516)
### What problem does this PR solve? This PR implements comprehensive Arabic language support for the RAGFlow application. The changes include: - Complete Arabic translation of all UI text elements in the web interface - RTL (right-to-left) layout support for Arabic content - Localization updates for all supported languages (ar, bg, de, en, es, fr, id, it, ja, pt-br, ru, vi, zh-traditional, zh) - UI component adjustments to properly display Arabic text and support RTL layout The implementation ensures that Arabic-speaking users can fully interact with the application in their native language with proper text rendering and layout direction. ### Type of change - [x] New Feature (non-breaking change which adds functionality) <img width="2866" height="1617" alt="image" src="https://github.com/user-attachments/assets/f2751b34-1b65-4867-b81d-a1068c17b9b7" /> --------- Co-authored-by: Yingfeng <yingfeng.zhang@gmail.com>
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
border: none;
|
||||
display: block;
|
||||
padding: 0.5em;
|
||||
text-align: left;
|
||||
text-align: start;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
.categorizeAnchorPointText {
|
||||
position: absolute;
|
||||
top: -4px;
|
||||
left: 8px;
|
||||
inset-inline-start: 8px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
@@ -33,8 +33,8 @@
|
||||
|
||||
.selectedIterationNode {
|
||||
border-bottom: 1.5px solid rgb(59, 118, 244);
|
||||
border-left: 1.5px solid rgb(59, 118, 244);
|
||||
border-right: 1.5px solid rgb(59, 118, 244);
|
||||
border-inline-start: 1.5px solid rgb(59, 118, 244);
|
||||
border-inline-end: 1.5px solid rgb(59, 118, 244);
|
||||
}
|
||||
|
||||
.iterationHeader {
|
||||
@@ -43,8 +43,8 @@
|
||||
|
||||
.selectedHeader {
|
||||
border-top: 1.9px solid rgb(59, 118, 244);
|
||||
border-left: 1.9px solid rgb(59, 118, 244);
|
||||
border-right: 1.9px solid rgb(59, 118, 244);
|
||||
border-inline-start: 1.9px solid rgb(59, 118, 244);
|
||||
border-inline-end: 1.9px solid rgb(59, 118, 244);
|
||||
}
|
||||
|
||||
.handle {
|
||||
@@ -88,7 +88,7 @@
|
||||
.categorizeAnchorPointText {
|
||||
position: absolute;
|
||||
top: -4px;
|
||||
left: 8px;
|
||||
inset-inline-start: 8px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.relevantSourceLabel {
|
||||
@@ -108,22 +108,22 @@
|
||||
background-color: #edfcff;
|
||||
font-size: 12px;
|
||||
padding: 6px 6px 4px;
|
||||
border-top-left-radius: 10px;
|
||||
border-top-right-radius: 10px;
|
||||
border-start-start-radius: 10px;
|
||||
border-start-end-radius: 10px;
|
||||
}
|
||||
.noteTitleDark {
|
||||
background-color: #edfcff;
|
||||
font-size: 12px;
|
||||
padding: 6px 6px 4px;
|
||||
border-top-left-radius: 10px;
|
||||
border-top-right-radius: 10px;
|
||||
border-start-start-radius: 10px;
|
||||
border-start-end-radius: 10px;
|
||||
}
|
||||
.noteForm {
|
||||
margin-top: 4px;
|
||||
height: calc(100% - 50px);
|
||||
}
|
||||
.noteName {
|
||||
padding: 0px 4px;
|
||||
padding-inline: 4px;
|
||||
}
|
||||
.noteTextarea {
|
||||
resize: none;
|
||||
@@ -139,8 +139,8 @@
|
||||
|
||||
.iterationNode {
|
||||
.commonNodeShadow();
|
||||
border-bottom-left-radius: 10px;
|
||||
border-bottom-right-radius: 10px;
|
||||
border-end-start-radius: 10px;
|
||||
border-end-end-radius: 10px;
|
||||
}
|
||||
|
||||
.nodeText {
|
||||
@@ -183,7 +183,7 @@
|
||||
}
|
||||
|
||||
.relevantLabel {
|
||||
text-align: right;
|
||||
text-align: end;
|
||||
}
|
||||
|
||||
.knowledgeNodeName {
|
||||
@@ -246,7 +246,7 @@
|
||||
|
||||
.expandIcon {
|
||||
position: absolute;
|
||||
right: 8px;
|
||||
inset-inline-end: 8px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
color: #666;
|
||||
|
||||
Reference in New Issue
Block a user