Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git shows up localized error messages despite system locale set to English #427

Open
mkasu opened this issue Mar 15, 2019 · 1 comment
Open

Comments

@mkasu
Copy link

mkasu commented Mar 15, 2019

Version info

  • OS: macOS 10.14
  • Build: 1106

Description

GIT warnings and errors show up in the wrong locale. On my system language is set to English, my system’s region is set to Japan. My keyboard layouts are a mix of US, Japanese, or German.

For some reason, all error messages inside Sublime Merge show up as German. Sublime Merge itself is English. Running GIT from the Terminal will also result in English output. Therefore, I am confused why Sublime Merge “falls back”(?) to German.

There is a related thread in the Sublime Merge forums, where their error messages show up in Swedish instead of English, having the same issue as me:
https://forum.sublimetext.com/t/how-to-disable-localized-error-messages/40438

Steps to reproduce

Steps to reproduce the behavior:

  1. Do anything which results in a direct GIT output (E.g. a rebase that fails, etc.)
  2. The error shows up as the wrong language.

Expected behavior

The error should show up in the system locale.

Screenshots

Currently on mobile, will attach screenshot later if needed.

@jyc
Copy link

jyc commented Oct 1, 2019

I also ran into this. I think Sublime Merge is incorrectly using the first Input Source rather than the system locale preference. For me I can reliably change the language by adding/removing Input Sources. The only locale I have enabled is English. See: https://forum.sublimetext.com/t/on-macos-git-error-messages-incorrectly-appear-in-the-language-that-comes-first-in-the-input-sources-list/46666

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants