Skip to content

Complete the French translation and add 101 missing keys - #208

Merged
momenbasel merged 2 commits into
momenbasel:mainfrom
Shirowwww:fr-complete-translation
Nov 19, 2026
Merged

momenbasel merged 2 commits into
momenbasel:mainfrom
Shirowwww:fr-complete-translation

Conversation

@Shirowwww

Copy link
Copy Markdown
Contributor

What does this PR do?

The French catalog had all 857 keys, but 472 of them still held the English text. With the app set to French, a large part of the interface showed up in English: Performance, Apple Features, Leftovers, Settings and most status messages. This PR translates them. It also adds 101 strings that the views use but that no catalog contains.

French (fr.lproj)

  • 445 values translated from English. The other 27 stay the same because they are product names or identical in French: PureMac, Homebrew, FileVault, Time Machine, Gatekeeper, Finder, CPU, OK…
  • 13 older entries reworded to follow Apple's French terms: "Réglages" rather than "Préférences" for Preferences, "clic" rather than "touche" on a Mac, "Fermer" for Dismiss, and so on.

101 missing keys (all locales)

  • Every one of them is a literal passed to Text(…) or a similar call somewhere in PureMac/: the dashboard cards, Apple Features, the backups section, warnings. They have no entry in any catalog, so they show in English in every language.
  • I appended them at the end of each Localizable.strings under one comment block. en gets the English text, fr gets the translation. The other 11 locales get the English text for now, to keep LocalizationFilesTests key parity, and are ready for their translators.

Strings built at runtime ("Check " + count + " categories…", the Permanent badge) are not covered. They need a code change to become localizable, which I left out of this PR.

Type of change

  • Other (localization)

Testing

  • plutil -lint is clean on all 13 files.
  • Locally I replayed the three checks of LocalizationFilesTests (key parity with en, format specifier signature, duplicate keys), ported line for line from the Swift test: 958 keys in each locale, 0 errors. I did not run xcodebuild test. CI will run the real thing.
  • I installed the new fr.lproj/Localizable.strings in the 3.2.0 release on macOS 27 and checked the sidebar, the dashboard, Apple Features, Performance, Leftovers and Settings: they now show in French.
  • A review of the wording by another French speaker is welcome.

472 French values still held the English text, so much of the app
appeared in English with French selected. They are now translated,
and 13 older entries follow Apple's French terminology.

101 strings used by the views had no catalog entry at all. They are
appended to every locale (English text outside en/fr) to keep key
parity for LocalizationFilesTests.
Copilot AI balanced review requested due to automatic review settings November 18, 2026 18:48

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@momenbasel
momenbasel merged commit da1ed1d 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.

3 participants