Spell-check other languages from the Craft apps' Language packs

Part of #4936. Spelling and hyphenation now read the Language packs
installed in the font store the Craft apps share, and proof.packs,
proof.installPack and proof.removePack list, install and remove them.
Installs need downloading on, which only the person turns on; in the
desktop app they run in the background and the documents are laid out
again when one ends.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ruchirguitarandClaude Opus 5.5 committed 2026-11-27 21:19:24 +05:30
1 parent 3756a57d27
commit 44afcbfb2a
18 files changed
+794 -5

No files matched your search

+3
View File
@@ -201,6 +201,9 @@ fn main() -> ExitCode {
#[cfg(target_os = "macos")]
mac_fonts::install();
prefs_dir::install_fonts();
// The Language packs installed in the shared font store; `proof.installPack` returns once
// installed.
prefs_dir::use_language_packs();
let mut args: Vec<String> = std::env::args().skip(1).collect();
// Before any subcommand attaches the plug-in folder.
let safe_mode = args.first().is_some_and(|a| a == "--safe-mode");