From 78f16d040de9b52e463d58bff813e2f97e6d6fe1 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 9 Mar 2025 07:24:58 -0700 Subject: [PATCH] macOS: disable setting LANGUAGE for now until bug is fixed See: https://github.com/ghostty-org/ghostty/discussions/6633 This is temporary while we figure this out. --- src/os/locale.zig | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/os/locale.zig b/src/os/locale.zig index 473e50399..164a2e6da 100644 --- a/src/os/locale.zig +++ b/src/os/locale.zig @@ -116,7 +116,11 @@ fn setLangFromCocoa() void { "setting LANGUAGE from preferred languages value={s}", .{pref}, ); - _ = internal_os.setenv("LANGUAGE", pref); + + // TODO: Disabled until we can figure out why this is causing + // invalid translations: + // https://github.com/ghostty-org/ghostty/discussions/6633 + // _ = internal_os.setenv("LANGUAGE", pref); } } else |err| { log.warn("error getting preferred languages. err={}", .{err});