Skip to content

Add Hindi (hi) localization - #1944

Merged
rxhanson merged 1 commit into
rxhanson:mainfrom
samanyudas:hindi-localization
Oct 29, 2026
Merged

rxhanson merged 1 commit into
rxhanson:mainfrom
samanyudas:hindi-localization

Conversation

@samanyudas

Copy link
Copy Markdown
Contributor

Rectangle had no Hindi, so Macs set to Hindi showed it in English. This adds Hindi for every translatable string, worded the way Apple's own Hindi macOS is.

Summary

 Rectangle/
 ├── Localizable.xcstrings       # + hi for 366 of 373 keys (the rest are empty or symbol-only)
 ├── mul.lproj/Main.xcstrings    # + hi for all 185 keys
 Rectangle.xcodeproj/
 └── project.pbxproj             # + hi in knownRegions

No existing translation or key changed. The diff only adds hi entries.
Menu items match Apple's Hindi for the same Xcode menu template, and System Settings paths match a Hindi Mac (सिस्टम सेटिंग → गोपनीयता और सुरक्षा → ऐक्सेसिबिलिटी).

Evidence

  • Before: with the Mac language set to Hindi, Rectangle's menus and Settings showed English.
    After: both catalogs compile with xcstringstool, the app builds, and the menus and every Settings tab show Hindi, with no broken text. The Snap Areas pickers cut long descriptions with "…", but they show the full text when opened.
  • A script compared every hi string with the English source: 0 mismatches in format specifiers, line breaks or literal tokens such as frontmost.app.

Merge Danger

Door: two-way

Blast Radius: Hindi-only

Only Macs set to Hindi see a change. Reverting removes the hi entries.

The translation was drafted with AI. I'm a Hindi speaker and reviewed every string myself.

Created with Claude Opus 5.5 in Claude Code, and reviewed with GPT-6.1 Sol.

🤖 Generated with Claude Code

Adds hi translations for every translatable string in Localizable.xcstrings (366 of 373 keys; the empty key and the symbol-only %, ½, ⅓, ¼, ⅔ and ¾ keys need none) and all 185 strings in Main.xcstrings, and registers hi in knownRegions.

Standard menu items, System Settings paths and macOS feature names use the wording of Apple's own Hindi macOS localization.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@rxhanson
rxhanson merged commit 39466ae into rxhanson:main Oct 29, 2026
1 check passed
@rxhanson

Copy link
Copy Markdown
Owner

Thanks!

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