Skip to content

Add Persian (fa) localization - #194

Merged
momenbasel merged 2 commits into
momenbasel:mainfrom
aliafshany:add-persian-localization
Nov 19, 2026
Merged

momenbasel merged 2 commits into
momenbasel:mainfrom
aliafshany:add-persian-localization

Conversation

@aliafshany

Copy link
Copy Markdown
Contributor

Adds Persian (Farsi), following the German localization in #167:

  • PureMac/fa.lproj/ with Localizable.strings (857 strings), InfoPlist.strings and ServicesMenu.strings, registered in the Xcode project.
  • AppLanguage.persian (fa, "Persian") in the in-app language picker, placed after Arabic.
  • AppLanguagePreferencesTests and LocalizationFilesTests cover fa.

PureMac already ships Arabic, so the right-to-left layout is in place. macOS names (Full Disk Access, FileVault, Gatekeeper, Time Machine, System Integrity Protection) stay in English as macOS shows them. Placeholders that hold file or folder paths, and the .app names, are wrapped in Unicode isolation marks (U+2068/U+2069) so a Latin path does not flip the surrounding Persian sentence.

Checks: AppLanguagePreferencesTests and LocalizationFilesTests pass (9 tests, including key parity, format specifiers and duplicate keys), plutil -lint passes, and an unsigned Debug build includes fa.lproj in PureMac.app.

AI disclosure: the translation was drafted with AI (Gemini 3.8 Flash in Antigravity, with Claude Code for building the files and the code change) and checked with automated validation: placeholders, line breaks, Persian letter forms and right-to-left text direction. I am a native Persian speaker.

🤖 Generated with Claude Code

@momenbasel
momenbasel merged commit 7cba7c9 into momenbasel:main Nov 19, 2026
momenbasel added a commit that referenced this pull request Nov 19, 2026
Version 3.3.0 (build 32). Release notes cover #197, #201, #199, #186,
#196 and the localization work in #188, #194, #198, #200, #206, #193,
#208 and #187.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants