This just started happening to me today in IntelliJ's terminal all of a sudden.
git's command line interface is in Russian now. For example, git status
returns something like:
Изменения, которые не в индексе для коммита:
(используйте «git add <файл>…», чтобы добавить файл в индекс)
(используйте «git checkout -- <файл>…», чтобы отменить изменения
в рабочем каталоге)
изменено: whatever/filename.kt
If I run git from the macOS's Terminal app, the CLI is in English, as expected.
I'm using IntelliJ Community Edition 2018.2.3 on macOS 10.12.6 and haven't changed any of my settings except upgrading git to 2.19.0 and the Kotlin plugin to v1.2.70 today.
It's not that I don't understand Russian, it's just I've been using English UI for years, and this sudden change is unnecessary and throws me off. Is there a way to change it back?
Edit: I've downgraded git version via brew switch git 2.18.0
and it's back to English CLI. Weird. Still trying to figure out why git
switches to Russian in v2.19. macOS's GUI, preferred language, primary input source are all English
on my laptop, and the region is set to United States
.
Press Alt+Right and Alt+Left to switch between active tabs. Alternatively, you can press Alt+Down to see the list of all terminal tabs. To rename a tab, right-click the tab and select Rename Session from the context menu.
IntelliJ IDEA uses cmd.exe in the terminal view by default. To replace it with the Ubuntu bash, open up the IntelliJ IDEA settings menu located under “File” -> “Settings”. Next search for “Terminal” and select “Terminal” under “Tools”. You can now use the Ubuntu bash directly in IntelliJ IDEA.
You can find the executable for running IntelliJ IDEA in the installation directory under bin. To use this executable as the command-line launcher, add it to your system PATH as described in Command-line interface. By default, IntelliJ IDEA does not provide a command-line launcher.
I got the exact same issue after upgrade git using home-brew from 2.18 to 2.19, I am using IntelliJ 2018.2.
Terminal comes with OS X is working fine => git status
showing english
Terminal embedded with IntelliJ is not => git status
showing Chinese
Followed https://apple.stackexchange.com/questions/337244 and deleted other preferred languages leaving only English (U.S) seems solved the problem.
The issue looks like IntelliJ is not passing down the LC_LANG correctly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With