feat(i18n): add Farsi (fa) locale for app, UI, and desktop - #40387
Open
pourmirzai wants to merge 1 commit into
Open
feat(i18n): add Farsi (fa) locale for app, UI, and desktop#40387pourmirzai wants to merge 1 commit into
pourmirzai wants to merge 1 commit into
Conversation
pourmirzai
force-pushed
the
i18n-fa-locale
branch
from
August 4, 2026 08:18
72b1ec0 to
367ccc4
Compare
Contributor
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
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.
Issue for this PR
Builds on localization work in #37184 (docs/README/glossary fa) and #34396 (closed), fills the app/UI/desktop locale gap left by auto-closed #33338.
Type of change
What does this PR do?
Adds full Persian (Farsi, fa) locale support for non-terminal surfaces — app web UI, shared UI components, and desktop Electron wrapper — with complete key/placeholder parity, adapted to the new centralized locale structure introduced in dev.
Files changed (9):
All locale registrations follow the new centralized structure from recent i18n refactors (desktop-native.ts locale source of truth, RTL_LOCALES for direction detection, etc.).
Key parity verified: standalone bun script confirms 996/996 (app), 171/171 (ui), 21/21 (desktop) with 0 placeholder mismatches.
How did you verify your code works?
Note: The official parity.test.ts is skipIf(CI) and may report drift due to pre-existing gaps in other locales (not introduced by fa).
Screenshots / recordings
N/A (i18n strings only — no UI layout changes; RTL already partially implemented in dev)
Checklist
If you do not follow this template your PR will be automatically rejected.