Skip to content

Add Persian (fa) localization - #1910

Merged
rxhanson merged 2 commits into
rxhanson:mainfrom
aliafshany:persian-localization
Oct 12, 2026
Merged

rxhanson merged 2 commits into
rxhanson:mainfrom
aliafshany:persian-localization

Conversation

@aliafshany

Copy link
Copy Markdown
Contributor

Adds Persian (Farsi) as a new language. Every translatable string in Localizable.xcstrings (327) and mul.lproj/Main.xcstrings (185) gets an fa translation, and fa is added to knownRegions. No existing translation or key was changed, and both catalogs compile with xcstringstool.

macOS has no Persian interface, so Persian speakers run macOS in English. Names of macOS screens and settings, such as System Settings and Stage Manager, therefore stay in English exactly as macOS shows them. Product names (Rectangle, Rectangle Pro, Multitouch, Spectacle) are kept as they are.

AI disclosure: the first draft of the translation was produced with AI (Gemini 3.8 Flash in Antigravity, with Claude Code for the catalog merge). I am a native Persian speaker and reviewed every string myself.

🤖 Generated with Claude Code

Adds fa translations for every translatable string in Localizable.xcstrings and Main.xcstrings and registers fa in knownRegions.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@rxhanson

Copy link
Copy Markdown
Owner

Thanks! There are a few strings other than the ones you mentioned that didn't get translated, but I don't mind merging what's here if you didn't want to add those as part of this PR. Just let me know if you're good with this one getting merged as-is.

The shortcut recorder is a separate library (https://github.com/rxhanson/MASShortcut), so that one wouldn't be translated here.

image image

Covers the settings and alert strings that had no translation in any language: Behavior, App Settings, stacked-window and across-display options, Landscape Snap Areas, Animate windows, the Mission Control and resize-warning toggles, and the URL action prompt.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@aliafshany

Copy link
Copy Markdown
Contributor Author

Thanks for checking! Those strings didn't have a translation in any language yet, so I had skipped them. I've added Persian for all of them in a new commit: Behavior, App Settings, the stacked-window and across-display options, Landscape Snap Areas, Animate windows, the Mission Control and resize-warning options, and the URL action prompt. Makes sense about the shortcut recorder.

@rxhanson
rxhanson merged commit c7d9ed2 into rxhanson:main Oct 12, 2026
1 check passed
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