# feat(i18n): Hebrew locale + full RTL support ## Summary This PR adds full Hebrew (he) locale support to the UI, including a complete translation of all user-facing strings and comprehensive RTL layout support across all components. ## What was done ### Hebrew translation - Full translation of all i18n message files for the `he` locale (17 translation files) - Registered the language in the i18n system and the language picker ### RTL support - Automatic direction detection (`dir="rtl"`) when Hebrew is selected - Replaced physical CSS properties (`left`/`right`) with logical equivalents (`inline-start`/`inline-end`) across the project - Fixed resize direction, file path alignment, and textarea padding - Fixed navigation button positioning in textarea for RTL - Fixed scrollbar direction in RTL - Fixed code block direction and selector alignment - Fixed Monaco editor direction in the file viewer - Auto-detect text direction in reasoning block (`dir="auto"` + `unicode-bidi: plaintext`) ### Adapted components - `session-layout` — sidebar and resize handle - `prompt-input` — text direction and buttons - `message-base` — message blocks and reasoning - `message-timeline` — timeline bar - `right-panel` — right side panel - `tool-call` — tool call display - `settings-screen` — settings page - `selector` — selection component - `instance-shell` — main shell ## New files ``` packages/ui/src/lib/i18n/messages/he/ advancedSettings.ts app.ts commands.ts dialogs.ts filesystem.ts folderSelection.ts index.ts instance.ts loadingScreen.ts logs.ts markdown.ts messaging.ts remoteAccess.ts session.ts settings.ts time.ts toolCall.ts ``` ## Suggested testing - Switch language to Hebrew and verify all strings are translated - Verify RTL layout is correct across all screens (session, settings, file viewer) - Verify that English text inside a reasoning block is displayed LTR - Switch back to English and verify everything returns to LTR --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: Shantur Rathore <i@shantur.com>
43 lines
2.1 KiB
TypeScript
43 lines
2.1 KiB
TypeScript
export const folderSelectionMessages = {
|
|
"folderSelection.language.ariaLabel": "שפה",
|
|
|
|
"folderSelection.logoAlt": "לוגו CodeNomad",
|
|
"folderSelection.tagline": "בחר תיקייה כדי להתחיל לתכנת עם AI",
|
|
|
|
"folderSelection.links.github": "CodeNomad GitHub",
|
|
"folderSelection.links.githubStars": "כוכבי CodeNomad ב-GitHub",
|
|
"folderSelection.links.discord": "CodeNomad Discord",
|
|
|
|
"folderSelection.empty.title": "אין תיקיות אחרונות",
|
|
"folderSelection.empty.description": "עיין בתיקייה כדי להתחיל",
|
|
|
|
"folderSelection.recent.title": "תיקיות אחרונות",
|
|
"folderSelection.recent.subtitle.one": "תיקייה אחת זמינה",
|
|
"folderSelection.recent.subtitle.other": "{count} תיקיות זמינות",
|
|
"folderSelection.recent.remove": "הסר מהרשימה האחרונה",
|
|
|
|
"folderSelection.browse.title": "עיון בתיקייה",
|
|
"folderSelection.browse.subtitle": "בחר כל תיקייה במחשב שלך",
|
|
"folderSelection.browse.button": "עיון בתיקיות",
|
|
"folderSelection.browse.buttonOpening": "פותח...",
|
|
|
|
"folderSelection.advancedSettings": "הגדרות מתקדמות",
|
|
"folderSelection.opencode": "OpenCode",
|
|
|
|
"folderSelection.hints.navigate": "ניווט",
|
|
"folderSelection.hints.select": "בחירה",
|
|
"folderSelection.hints.remove": "הסרה",
|
|
"folderSelection.hints.browse": "עיון",
|
|
|
|
"folderSelection.loading.title": "מפעיל מופע...",
|
|
"folderSelection.loading.subtitle": "המתן בזמן שאנו מכינים את סביבת העבודה שלך.",
|
|
|
|
"folderSelection.drop.title": "שחרר תיקייה כדי לפתוח אותה",
|
|
"folderSelection.drop.subtitle": "התחל מופע חדש בתיקייה שנשחררה.",
|
|
"folderSelection.drop.invalidTitle": "לא ניתן לפתוח את הפריט שנשחרר",
|
|
"folderSelection.drop.invalidMessage": "שחרר תיקייה כדי להתחיל מופע חדש.",
|
|
|
|
"folderSelection.dialog.title": "בחר סביבת עבודה",
|
|
"folderSelection.dialog.description": "בחר סביבת עבודה כדי להתחיל לתכנת.",
|
|
} as const
|