-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Add Arabe #7469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Arabe #7469
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,6 +5,7 @@ import { type Language, isLanguage } from "@roo-code/types" | |
| */ | ||
|
|
||
| export const LANGUAGES: Record<Language, string> = { | ||
| ar: "العربية", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I noticed that the Arabic locale directories and translation files are missing from all three locations:
Without these directories and their translation JSON files, the application will fail when users try to switch to Arabic. Could you create these directories and add at least the basic translation files that other languages have? |
||
| ca: "Català", | ||
| de: "Deutsch", | ||
| en: "English", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change will cause TypeScript compilation errors. The "ar" value needs to be added to the
languagesarray inpackages/types/src/vscode.ts(lines 64-83) for the Language type to recognize it as valid.Could you also add "ar" to that array to ensure type safety?