Skip to content

i18n(az): add Azerbaijani (Azərbaycanca) translation - #20131

Merged
JinHai-CN merged 1 commit into
infiniflow:mainfrom
jamalkamaladdin:feat/az-locale
Sep 23, 2026
Merged

JinHai-CN merged 1 commit into
infiniflow:mainfrom
jamalkamaladdin:feat/az-locale

Conversation

@jamalkamaladdin

Copy link
Copy Markdown
Contributor

Summary

Adds an Azerbaijani (az) translation.

New file web/src/locales/az.ts: 3181 strings, all filled in.
web/src/constants/common.ts: added Az to LanguageAbbreviation and Azərbaycanca to LanguageAbbreviationMap.
web/src/locales/config.ts: added az to languageImports.

@coderabbitai

coderabbitai Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 83a233da-d323-477a-96cf-cb0a53f4f4c7

📥 Commits

Reviewing files that changed from the base of the PR and between 11c1663 and c6f146f.

📒 Files selected for processing (3)
  • web/src/constants/common.ts
  • web/src/locales/az.ts
  • web/src/locales/config.ts

Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.


📝 Walkthrough

Walkthrough

The web app adds Azerbaijani (az) to its language enum and display-name map. The locale configuration maps az to a lazy import of ./az.

Changes

Azerbaijani language support

Layer / File(s) Summary
Language registration and locale loading
web/src/constants/common.ts, web/src/locales/config.ts
Adds Az = 'az' and the display name Azərbaycanca. The locale import record maps Az to ./az for lazy loading.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Feature

Suggested reviewers: dcc123456

Merge Risk: ⚪ Minimal · up to c6f14

Azerbaijani is available through the language selector and loads translations on demand. The inspected registration and locale export align, with English as the fallback, so no actionable merge risk remains.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: adding Azerbaijani translation support.
Description check ✅ Passed The description includes the required Summary section and identifies the translation file, language constants, and lazy-load registration changes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 2…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

A rabbit hops past letters new
“Azərbaycanca” joins the view
A quiet import waits to load
The language finds its proper code
Then off I bound along the road

Comment @coderabbitai help to get the list of available commands.

@JinHai-CN JinHai-CN added the ci Continue Integration label Sep 23, 2026
@JinHai-CN JinHai-CN self-assigned this Sep 23, 2026
@JinHai-CN
JinHai-CN merged commit fa21687 into infiniflow:main Sep 23, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continue Integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants