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.
pull/6647/head
Mitchell Hashimoto 2025-03-09 07:24:58 -07:00
parent d3fd2b02e7
commit 78f16d040d
No known key found for this signature in database
GPG Key ID: 523D5DC389D273BC
1 changed files with 5 additions and 1 deletions

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