Repository navigation
[6/6] Add Italian localization - #174
BinaryBearsLLC wants to merge 6 commits into
Conversation
|
The Italian translation lands in #184 as ad6aaab, credited to you in the commit, re-cut on top of #180 as a strings-only change: 829 of 857 keys carry your values, the rest fall back to English until translated, and the "Italian" language name is translated in every locale rather than left in English. The refactor half (wrapping about 390 tool messages in String(localized:) across 14 Swift files) was not taken because #180 landed the same rewrite of the same files first and the two cannot coexist; those strings are localizable through #180's keys instead. Two small changes to your values: "App Updates" = "Aggiornamenti app" (a section title, not an imperative) and "German" = "Tedesco" so the picker is not mixed. Ships in 3.1.0; thanks for the thorough series. |
Translation by @BinaryBearsLLC from momenbasel#174 (commit 8c20a93), re-cut on top of momenbasel#180, momenbasel#167 and the other momenbasel#174 commits. it.lproj/Localizable.strings follows the current en key set and file order: 829 values come from the momenbasel#174 Italian catalog and 23 keys that did not exist there keep the English text as a fallback (the filter labels, memory and admin-removal messages added by momenbasel#180). "German" is rendered as "Tedesco" and "App Updates" as the noun phrase "Aggiornamenti app" because the key is used as a navigation title and sidebar label. InfoPlist.strings and ServicesMenu.strings are taken unchanged. The "Italian" language name is added to all 12 existing locales, .italian to AppLanguage, the it bundle to the localization tests, and the README Settings paragraph mentions Italian. The second half of momenbasel#174, a refactor that routed service and view-model strings through String(localized:) and added 432 keys to every locale, was not taken: momenbasel#180 already landed the same change on this branch and the two rewrites of the same lines conflict.
Part 6 of 6 — depends on #169, #170, #171, #172, #173. Please keep this PR in draft until the preceding parts are merged. Its current Files changed tab includes those earlier changes.
Review and merge order: #169 → #170 → #171 → #172 → #173 → #174.
Before merging: refresh this branch against the updated main, retaining only this part’s commit. If earlier parts were squash-merged or rebased, reapply only the linked commit onto updated main; do not merge the cumulative diff as-is.
Review this part’s commit.
What does this PR do?
Adds Italian to the language picker and translates the app interface, permission descriptions and Finder service label.
Also makes the existing tools’ dynamic messages localizable and maintains key and format-placeholder parity across language catalogs. Newly introduced keys use English fallback in other languages where translations are unavailable.
Testing
124 XCTest tests passed, including catalog parity, format placeholders, language preferences and bundled Italian resources; universal build succeeded on macOS 26.6.2 (Apple Silicon). Tested on macOS Ventura 13.6 (22G120, Apple Silicon VM). GUI checks covered Italian settings and update results, and language changes in both directions with relaunch and persisted preferences. Final Italian labels and the permission guide were also visually checked on Ventura.
Screenshots