nim-lang / Nim

Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
https://nim-lang.org
Other
16.55k stars 1.47k forks source link

Any command of the Nim compiler changes the terminal language (from Russian to English) #15181

Open not-lum opened 4 years ago

not-lum commented 4 years ago

I am from Russia so the language in my system is russian too. But when I write in the terminal any Nim compiler's command(for example nim secret or nim -v) language in my terminal changes to English. If I restart my terminal language turns into russian again. In GIF you can see how the terminal language changes.

Windows-Terminal-2020-08-13-12-00-16

OS: Windows 10 Installer: choosenim Emulator: Windows Terminal

Araq commented 4 years ago

Please bootstrap via koch boot -d:release -d:nimDontSetUtf8CodePage and see if it helps.

not-lum commented 4 years ago

@Araq It did not help.

Araq commented 4 years ago

Are you sure you used the right nim.exe for testing afterwards?

not-lum commented 4 years ago

I have 2 nim.exe. I set Nim from .choosenim to my PATH and now that's working! Thank you! But some packages(like inim) which I installed via nimble have to be in the PATH and they are in .nimble\bin folder. So how can I set them in PATH?

It is problem because another nim.exe in .nimble\bin folder and it may conflict with .choosenim\toolchains\nim-1.2.6\bin\nim.exe. And there is no koch.exe in .nimble\bin