feat(i18n): add Hebrew (he) locale support#12021
Draft
roomote-v0[bot] wants to merge 3 commits intomainfrom
Draft
feat(i18n): add Hebrew (he) locale support#12021roomote-v0[bot] wants to merge 3 commits intomainfrom
roomote-v0[bot] wants to merge 3 commits intomainfrom
Conversation
2 tasks
|
@roomote, please translate all the English template strings to Hebrew, and then I'll review and fix them manually where it's needed. |
Contributor
Author
Translated all 17 Hebrew locale files from English to Hebrew (7 backend + 10 webview-ui). All translation validation checks pass. |
…brew
Translates all 17 Hebrew locale files (7 backend + 10 webview-ui)
from English template strings to proper Hebrew translations.
Backend files:
- src/i18n/locales/he/common.json
- src/i18n/locales/he/embeddings.json
- src/i18n/locales/he/marketplace.json
- src/i18n/locales/he/mcp.json
- src/i18n/locales/he/skills.json
- src/i18n/locales/he/tools.json
- src/i18n/locales/he/worktrees.json
WebView UI files:
- webview-ui/src/i18n/locales/he/chat.json
- webview-ui/src/i18n/locales/he/cloud.json
- webview-ui/src/i18n/locales/he/common.json
- webview-ui/src/i18n/locales/he/history.json
- webview-ui/src/i18n/locales/he/marketplace.json
- webview-ui/src/i18n/locales/he/mcp.json
- webview-ui/src/i18n/locales/he/prompts.json
- webview-ui/src/i18n/locales/he/settings.json
- webview-ui/src/i18n/locales/he/welcome.json
- webview-ui/src/i18n/locales/he/worktrees.json
All placeholders ({{variable}}) preserved exactly as in English source.
Technical terms and brand names kept in English where appropriate.
Validation script confirms no missing translations.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related GitHub Issue
Closes: #12020
Description
This PR attempts to address Issue #12020 by adding Hebrew (he) locale support to Roo Code. Feedback and guidance are welcome.
Changes made:
"he"in theLanguagetype (packages/types/src/vscode.ts) - added in alphabetical order between"fr"and"hi"src/shared/language.ts) - addedhe: "עברית"src/i18n/locales/he/) - copied from English templates:common.json,embeddings.json,marketplace.json,mcp.json,skills.json,tools.json,worktrees.jsonwebview-ui/src/i18n/locales/he/) - copied from English templates:chat.json,cloud.json,common.json,history.json,marketplace.json,mcp.json,prompts.json,settings.json,welcome.json,worktrees.json, plus.gitkeepWhat is NOT needed (auto-discovered at runtime):
src/i18n/setup.tsandwebview-ui/src/i18n/setup.tsdynamically discover locale directories, so no setup file changes are required.Regarding RTL support:
Test Procedure
node scripts/find-missing-translations.js- all locales pass with no missing translationscd src && npx vitest run shared/__tests__/language.spec.ts- all 3 tests passPre-Submission Checklist
Documentation Updates
Additional Notes
The Hebrew translation files currently contain English strings as starting templates. These can be incrementally translated by Hebrew-speaking contributors.
Interactively review PR in Roo Code Cloud