mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-04 09:39:32 +08:00
### 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>
88 lines
1.2 KiB
Plaintext
88 lines
1.2 KiB
Plaintext
.chunkPage {
|
|
padding: 24px;
|
|
padding-top: 2px;
|
|
|
|
display: flex;
|
|
// height: calc(100vh - 112px);
|
|
height: 100vh;
|
|
flex-direction: column;
|
|
|
|
.filter {
|
|
margin: 10px 0;
|
|
display: flex;
|
|
height: 32px;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.pagePdfWrapper {
|
|
width: 60%;
|
|
}
|
|
|
|
.pageWrapper {
|
|
width: 100%;
|
|
}
|
|
|
|
.pageContent {
|
|
flex: 1;
|
|
width: 100%;
|
|
padding-inline-end: 12px;
|
|
overflow-y: auto;
|
|
|
|
.spin {
|
|
min-height: 400px;
|
|
}
|
|
}
|
|
|
|
.documentPreview {
|
|
// width: 40%;
|
|
height: calc(100vh - 180px);
|
|
overflow: auto;
|
|
}
|
|
|
|
.chunkContainer {
|
|
display: flex;
|
|
height: calc(100vh - 332px);
|
|
}
|
|
|
|
.chunkOtherContainer {
|
|
width: 100%;
|
|
}
|
|
|
|
.pageFooter {
|
|
padding-top: 10px;
|
|
padding-inline-end: 10px;
|
|
height: 32px;
|
|
}
|
|
}
|
|
|
|
.container {
|
|
height: 100px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
|
|
.content {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
|
|
.context {
|
|
flex: 1;
|
|
// width: 207px;
|
|
height: 88px;
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
|
|
.footer {
|
|
height: 20px;
|
|
|
|
.text {
|
|
margin-inline-start: 10px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.contentEllipsis {
|
|
.multipleLineEllipsis(3);
|
|
}
|