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.
This commit is contained in:
Mitchell Hashimoto
2025-03-09 07:24:58 -07:00
parent d3fd2b02e7
commit 78f16d040d

View File

@@ -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});