Skip to content

Add Russian and Ukrainian localizations - #130

Merged
momenbasel merged 3 commits into
momenbasel:mainfrom
TinyFrontier:feature/russian-ukrainian-localization
Aug 10, 2026
Merged

momenbasel merged 3 commits into
momenbasel:mainfrom
TinyFrontier:feature/russian-ukrainian-localization

Conversation

@TinyFrontier

Copy link
Copy Markdown
Contributor

Summary

  • add complete Russian and Ukrainian UI translations
  • localize permission prompts, Finder service labels, dynamic content, and user-facing errors
  • register Russian and Ukrainian in the language picker and Xcode resources
  • add localization parity, format-specifier, duplicate-key, and bundle-packaging tests
  • update the supported-language list in the README

Why

PureMac did not previously support Russian or Ukrainian, and several dynamically constructed strings bypassed the localization lookup even when translation keys existed.

User impact

Russian- and Ukrainian-speaking users can select their language in Settings and use the complete GUI, including onboarding, Full Disk Access guidance, cleanup flows, permission prompts, and Finder services. The selected language still applies after relaunch, matching the existing language-switching behavior.

Validation

  • generated the project with XcodeGen 2.46.0
  • built the universal Release configuration for arm64 and x86_64
  • ran the complete XCTest suite: 10 tests, 0 failures
  • verified all .strings, plist, entitlement, and project files with plutil
  • verified localization key parity, format specifiers, duplicate keys, and packaged bundle resources
  • manually smoke-tested Russian and Ukrainian in the app

@TinyFrontier
TinyFrontier force-pushed the feature/russian-ukrainian-localization branch from e72d7f9 to 017b6c1 Compare July 19, 2026 08:40
@TinyFrontier
TinyFrontier marked this pull request as ready for review July 19, 2026 08:40
@boombertz

Copy link
Copy Markdown
Contributor

Hi @TinyFrontier

Following the CONTRIBUTING.md and for a better follow up of your changes, could you split the commit beyond the localizations?

There are more than Russian and Ukrainian and translations in your PR.

@TinyFrontier
TinyFrontier force-pushed the feature/russian-ukrainian-localization branch from 017b6c1 to 5737663 Compare July 30, 2026 09:51
@TinyFrontier

Copy link
Copy Markdown
Contributor Author

@boombertz Thanks for the feedback. I rebased the branch onto the latest main, removed the unrelated copy/error behavior changes, and split the work into three focused commits: dynamic UI localization, Russian and Ukrainian resources, and localization tests. The Universal Release build and all 10 tests pass.

@momenbasel

Copy link
Copy Markdown
Owner

Reviewed and merging after #146. This is a lot of careful work — thank you.

I checked the 10 non-.strings Swift files specifically, because a localization PR touching ScanEngine is worth a second look, and confirmed every change is a String(localized:) / LocalizedStringKey wrapper around an already-existing literal. No scan paths, no deletion logic, no behavior changes. Key parity lands at 345 across all catalogs.

This closes #134.

One thing you can drop on the next pass: the project.pbxproj edits are not needed. project.yml declares sources: - PureMac as a directory, so xcodegen picks up ru.lproj and uk.lproj automatically, and CI regenerates the project on every build. Harmless, just noise.

@momenbasel
momenbasel merged commit d400870 into momenbasel:main Aug 10, 2026
momenbasel added a commit that referenced this pull request Aug 10, 2026
2.9.5 removed Universal Binaries and Language Files from `scannable`, but the
sidebar and the dashboard's Care areas built their lists from hardcoded
arrays rather than from `scannable`, so both categories stayed visible while
never returning results.

Both lists now filter through `scannable`, so anything withdrawn there
disappears from the UI instead of becoming a dead row or a permanent zero in
the Developer count.

2.9.5 was tagged and built but its formula bump failed to push, so no cask
ever pointed at it. This supersedes it and also carries the Russian and
Ukrainian localizations (#130) and the appearance-name localization fix
(#146), neither of which was in the 2.9.5 build.

Claude-Session: https://claude.ai/code/session_01Sw6fz8gtn7j2U17kA2U7VE
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