Repository navigation
Complete the French translation and add 101 missing keys - #208
Merged
Merged
Conversation
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.
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.
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)101 missing keys (all locales)
Text(…)or a similar call somewhere inPureMac/: the dashboard cards, Apple Features, the backups section, warnings. They have no entry in any catalog, so they show in English in every language.Localizable.stringsunder one comment block.engets the English text,frgets the translation. The other 11 locales get the English text for now, to keepLocalizationFilesTestskey parity, and are ready for their translators.Strings built at runtime (
"Check " + count + " categories…", thePermanentbadge) are not covered. They need a code change to become localizable, which I left out of this PR.Type of change
Testing
plutil -lintis clean on all 13 files.LocalizationFilesTests(key parity withen, format specifier signature, duplicate keys), ported line for line from the Swift test: 958 keys in each locale, 0 errors. I did not runxcodebuild test. CI will run the real thing.fr.lproj/Localizable.stringsin 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.