feat(i18n): add Arabic (ar-SA) language support#431
Merged
wyuc merged 2 commits intoTHU-MAIC:mainfrom Apr 16, 2026
Merged
Conversation
c0ee1cf to
e127d5f
Compare
wyuc
requested changes
Apr 16, 2026
Contributor
wyuc
left a comment
There was a problem hiding this comment.
Rebase onto current main. A few PRs landed since this was opened:
Missing 12 keys (added by #418 — classroom ZIP export/import):
export.classroomZip
export.classroomZipDesc
import.classroom
import.error.invalidManifest
import.error.invalidZip
import.error.missingData
import.error.storageFull
import.parsing
import.success
import.validating
import.writingCourse
import.writingMedia
Remove 2 stale keys (deleted in #411/#412):
pbl.chat.welcomeMessage
toolbar.languageHint
Contributor
Author
|
working on it! |
Add complete Arabic (Saudi Arabia) translation with 803 i18n keys, cross-validated by multiple LLMs with 15 targeted corrections applied. Closes THU-MAIC#427
e127d5f to
900bc18
Compare
Contributor
Author
|
Rebased onto current main and addressed all feedback~
|
wyuc
approved these changes
Apr 16, 2026
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.
Summary
Add Arabic (
ar-SA) language support to the i18n system, addressing #427.Changes
New file
lib/i18n/locales/ar-SA.json— Complete Arabic (Saudi Arabia) translation with all 803 i18n keysModified file
lib/i18n/locales.ts— Registerar-SAlocale entry (العربية/AR)Translation Quality
Provider→المزوّدuniformly)عادلاً→عاليًاin voice description)streamingconnotation fix (البث المباشر→التدفق)،) instead of English comma (,){{interpolation}}variables preserved and verifiedKnown Limitations
_one/_two/_few/_many/_othersuffixes) requires both translation additions and code changes to passcountparameters — tracked as a future enhancement.Verification
en-US.jsonexactly (automated verification)Closes #427
Translated and audited by Claude Opus 4.6, GPT 5.4 and Gemini 3.1 Pro.
Manually researched and audited.