[PR #6203] [CLOSED] feat(i18n): add Kurdish (Sorani) locale #6164

Closed
opened 2026-11-02 04:06:49 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/6203
Author: @aymen0402
Created: 8/12/2026
Status: ❌ Closed

Base: main ← Head: feat/kurdish-sorani-locale


📝 Commits (4)

  • 3014216 feat(i18n): add Kurdish (Sorani) locale
  • ae9fae9 Merge branch 'main' into feat/kurdish-sorani-locale
  • 9aafd2b Merge branch 'main' into feat/kurdish-sorani-locale
  • 43b0592 Merge branch 'main' into feat/kurdish-sorani-locale

📊 Changes

13 files changed (+2281 additions, -33 deletions)

View changed files

📝 CLAUDE.md (+1 -1)
📝 README.ar_EG.md (+4 -4)
➕ README.ckb_IQ.md (+206 -0)
📝 README.es_ES.md (+4 -4)
📝 README.fa_IR.md (+4 -4)
📝 README.md (+4 -4)
📝 README.ru_RU.md (+4 -4)
📝 README.tr_TR.md (+4 -4)
📝 README.zh_CN.md (+4 -4)
📝 docs/architecture.md (+2 -2)
📝 frontend/src/test/i18n-dead-keys.test.ts (+2 -2)
📝 frontend/src/utils/index.ts (+3 -0)
➕ internal/web/translation/ckb-IQ.json (+2039 -0)

📄 Description

Summary

  • Adds a full Sorani Kurdish (ckb-IQ) translation in internal/web/translation/ckb-IQ.json — 1919 strings covering the panel UI, Telegram bot, and email templates, with exactly the same key set as en-US.json.
  • Registers ckb-IQ in the frontend language switcher (frontend/src/utils/index.ts), including Accept-Language auto-detection for ku/ckb.
  • Adds README.ckb_IQ.md following the existing README.<lang>.md convention, and updates the language nav line + "Supported Languages" count/list (13 → 14) in every other README variant.
  • Updates the two documentation mentions of the locale count (CLAUDE.md, docs/architecture.md) and the i18n-dead-keys test's comment/message for consistency.

Test plan

  • npx vitest run src/test/i18n-dead-keys.test.ts — both checks pass (every en-US key is referenced; ckb-IQ carries exactly the en-US key set, no missing/orphan keys).
  • npx tsc --noEmit — clean.
  • Maintainer: spot-check the Sorani translation quality / terminology choices (protocol/technical jargon such as VLESS, REALITY, TLS, sockopt, etc. was intentionally kept in Latin script, matching how the existing fa_IR/ar_EG locales already handle the same jargon).

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/6203 **Author:** [@aymen0402](https://github.com/aymen0402) **Created:** 8/12/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/kurdish-sorani-locale` --- ### 📝 Commits (4) - [`3014216`](https://github.com/MHSanaei/3x-ui/commit/30142167153db4125070dd9cc9e61051a5959a19) feat(i18n): add Kurdish (Sorani) locale - [`ae9fae9`](https://github.com/MHSanaei/3x-ui/commit/ae9fae99133e7788ad37cc82810f32bf376c3e1e) Merge branch 'main' into feat/kurdish-sorani-locale - [`9aafd2b`](https://github.com/MHSanaei/3x-ui/commit/9aafd2b8a6a51a2feffe38d55cca2f99d8d96f59) Merge branch 'main' into feat/kurdish-sorani-locale - [`43b0592`](https://github.com/MHSanaei/3x-ui/commit/43b059248e343ee0658fc2bd4503423174c84db1) Merge branch 'main' into feat/kurdish-sorani-locale ### 📊 Changes **13 files changed** (+2281 additions, -33 deletions) <details> <summary>View changed files</summary> 📝 `CLAUDE.md` (+1 -1) 📝 `README.ar_EG.md` (+4 -4) ➕ `README.ckb_IQ.md` (+206 -0) 📝 `README.es_ES.md` (+4 -4) 📝 `README.fa_IR.md` (+4 -4) 📝 `README.md` (+4 -4) 📝 `README.ru_RU.md` (+4 -4) 📝 `README.tr_TR.md` (+4 -4) 📝 `README.zh_CN.md` (+4 -4) 📝 `docs/architecture.md` (+2 -2) 📝 `frontend/src/test/i18n-dead-keys.test.ts` (+2 -2) 📝 `frontend/src/utils/index.ts` (+3 -0) ➕ `internal/web/translation/ckb-IQ.json` (+2039 -0) </details> ### 📄 Description ## Summary - Adds a full Sorani Kurdish (`ckb-IQ`) translation in `internal/web/translation/ckb-IQ.json` — 1919 strings covering the panel UI, Telegram bot, and email templates, with exactly the same key set as `en-US.json`. - Registers `ckb-IQ` in the frontend language switcher (`frontend/src/utils/index.ts`), including Accept-Language auto-detection for `ku`/`ckb`. - Adds `README.ckb_IQ.md` following the existing `README.<lang>.md` convention, and updates the language nav line + "Supported Languages" count/list (13 → 14) in every other README variant. - Updates the two documentation mentions of the locale count (`CLAUDE.md`, `docs/architecture.md`) and the `i18n-dead-keys` test's comment/message for consistency. ## Test plan - [x] `npx vitest run src/test/i18n-dead-keys.test.ts` — both checks pass (every en-US key is referenced; ckb-IQ carries exactly the en-US key set, no missing/orphan keys). - [x] `npx tsc --noEmit` — clean. - [ ] Maintainer: spot-check the Sorani translation quality / terminology choices (protocol/technical jargon such as VLESS, REALITY, TLS, sockopt, etc. was intentionally kept in Latin script, matching how the existing `fa_IR`/`ar_EG` locales already handle the same jargon). 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 04:06:49 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#6164
No description provided.