Add Kurdish (Sorani) locale (ckb) - #3873
Merged
Merged
Conversation
Register the Kurdish (Sorani) translation so it can be selected in the UI, and document the actual steps for adding a locale and how GlotPress import/export discovers languages. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
sejas
approved these changes
Jun 17, 2026
Collaborator
📊 Performance Test ResultsComparing e596355 vs trunk app-size
site-editor
site-startup
Results are median values from multiple test runs. Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff) |
katinthehatsite
approved these changes
Jun 18, 2026
katinthehatsite
left a comment
Contributor
There was a problem hiding this comment.
The changes look good and work as expected 👍
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 issues
How AI was used in this PR
Claude Code wired the new translation file into the locale registry, identified all the places a locale needs to be registered (translation dictionary, supported-locale type, display-name map), and updated the localization docs to match the actual workflow. All changes were reviewed manually.
Proposed Changes
Adds Kurdish (Sorani) as a selectable language in Studio. Users who read Kurdish (Sorani) can now pick it from the language selector in Preferences and have the UI render in their language (falling back to English for any untranslated strings, as with every other locale).
Also corrects the localization docs: the "Supported Languages" section previously described a stale language count and an inaccurate step (editing the derived
supportedLocalesarray). It now lists the real steps for adding a locale and explains that the GlotPress export is driven purely by the presence ofstudio-<locale>.jed.jsonfiles — there is no separate allowlist.Note: Kurdish (Sorani) is a right-to-left language. Studio already supports RTL locales (Arabic, Hebrew), so no new RTL plumbing was needed.
Testing Instructions
npm startPre-merge Checklist