Monolingual for Mac
The latest version of Monolingual for Mac is 2.0.4, released . Utility to remove unnecessary language resources from the system.
What's new in Monolingual 2.0.4
A security release.
- Stripping debug information no longer follows a symbolic link. With "Strip debug info when
removing architectures" enabled, the helper rewrote each executable by path, and /usr/bin/strip
follows a link at the end of one. A link swapped in for a file after the helper had looked at it
had its target rewritten as root, and the ownership the helper put back afterwards was applied to
that target as well. The file is now opened without following, strip is given a copy in a
private directory, and the result is written back through that descriptor.
Show more
The Trash path had the same kind of problem; 2.0.3 fixed it —
GHSA-9gmw-jhrw-g8wf.
Source: github.com
How to update Monolingual on your Mac
- With Homebrew. If you installed Monolingual with Homebrew, run:
brew upgrade --cask monolingual - From the developer. Download the latest version from ingmarstein.github.io and install it over the old copy in your Applications folder.
- With Fresh. Fresh lives in your menu bar, spots when Monolingual and your other apps are out of date, and updates them all in one click. It launches soon.
Monolingual version history
- 2.0.4
2.0.3
A security release.
- Moving language files to Trash no longer follows a symbolic link. Before a localization
directory was moved, the helper handed it and everything below it to the user the app runs as,
so that the user could empty the trash afterwards. It did that by path, and looking a path up
follows a link at the end of it: a link placed inside the directory changed the ownership of its
target, and since the helper runs as root, that target could be a file only root may write. The
ownership is now changed through descriptors opened without following, and a link is skipped
rather than resolved.
Reported by @h1ghl1kh7 — see the security advisory,
GHSA-9gmw-jhrw-g8wf.
Source: github.com
2.0.2
What's Changed
- feat: filter the language and architecture lists
Full Changelog: v2.0.1...v2.0.2
Source: github.com
2.0.1
A patch release. 2.0 could not remove anything — that is fixed here, first below. The rest of this
note describes 2.0, the first release since 1.8.2, which requires macOS 27 on an Apple silicon Mac.
Fixed in 2.0.1
- Monolingual can remove files again. 2.0 asked macOS for something it does not allow, so the
privileged helper that does the removing was never installed. macOS 27 refuses to register an
unsandboxed launch daemon from a sandboxed app, and Monolingual was on both sides of that rule at
once: the app had been sandboxed since 2015, and the helper has to run unconfined because it
deletes files anywhere on disk. The app is no longer sandboxed.
- Preferences start over. They lived in the sandbox container, which an unsandboxed app cannot
read, so the folders to thin fall back to /Applications and /Library. If you had added a
folder of your own, add it again under Preferences.
- Thinning an unusually large universal binary could crash Monolingual. The architecture offsets of
a fat file are now added in 64 bits, and a file whose slices would not fit a 32-bit header is
refused instead of trapping.
- The app inside the disk image had no notarization ticket stapled to it — only the zip did — so
Gatekeeper had to ask Apple about the app before it would run, which fails on a Mac that is
offline or behind a restrictive network. The app is now stapled before the disk image is built.
The app
- Rewritten in Swift 6 with a SwiftUI interface.
- A removal now reports what it is doing in a sheet — the file it is working on and the space freed
so far — and can be cancelled.
- Monolingual notifies you when a removal has finished, with the space it saved.
- The English language files can no longer be selected: removing them breaks a macOS installation
beyond repair, so the entry stays disabled.
The privileged helper
- Installed with Service Management instead of the deprecated SMJobBless. Approve it once in
System Settings › General › Login Items & Extensions.
- The app and the helper now use the Swift XPC API, and the helper checks that the process talking
to it is the Monolingual app.
- Symbolic links are no longer followed when removing language files or thinning architectures.
Localization
- Added Turkish.
- All 16 translations are complete. They now live in a String Catalog, so no string can go stale.
Fixed
- A blocklist download that failed could leave Monolingual without a blocklist, which made the next
removal crash.
Also
- Updates are signed with Sparkle 2 and EdDSA, and the app is notarized.
- A new app icon.
Source: github.com
1.8.1
- Fixed "1 bytes saved" bug (#132)
- Use new hardened runtime
- Add support for the Slovak language (#138)
Source: github.com
1.8.0
- Now requires macOS 10.13 (High Sierra)
- Handle locales with script codes (#117)
- Improved log (#118)
Source: github.com
Details
- Latest version
- 2.0.4
- Released
- Last checked
- Website
- ingmarstein.github.io
- Homebrew cask
- monolingual