-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Support i18n #24
Comments
It seems that the display is wrong... Some chinese character shows up and eat up following ascii character. Maybe I should raise an issue on gocui ? |
@TGhoul do those same characters have a fixed-width in regular use? It may be that your font isn't monospaced. I tried testing how the app behaved with some mandarin characters but they didn't even render: I'm thinking it may be configurable via cmd, but I'm not well versed in windows |
@jesseduffield I think those characters is fixed-width, my problems appear in the "Commits" window, |
See jroimartin/gocui#74. |
@ponsfrilus @jesseduffield This issue may be related to gocui, I tested it in macOS. |
This should (or could) be fixed by #231 |
@jesseduffield Thank you for all your effort with i18n. |
@jesseduffield Thank youuuu! |
@jesseduffield @OdaDaisuke is this issue fixed? |
windos 有问题,ubuntu没得问题,头大 |
hi,解决了么?,好像在ubuntu下没问题 |
@hello-liu It's OK on Mac OS. |
change cmd GBK to UTF-8,it work |
can you input chinese in the view ,half char no see |
@scutxd could you provide some steps to reproduce that issue? I'm not able to reproduce locally on the latest lazygit master branch |
I have the same issue here, if you add a file which has a Chinese name, than it will shown some \xxx like text in the commit message, let me give your a screen shot. There are two issues here: 2, the second issue the the same as the scutxd mentioned one. Update |
Bad view title drawing with unicode characters. · Issue #157 · jroimartin/gocui |
@asmwarrior I'm still struggling to replicate. Is there a public repo you could point me to which I could pull down to verify the issue? |
I create a sample git repo for you to test the Chinese font issue, see here: https://github.com/asmwarrior/lazygit_issue24 |
I have no experience of programming in go language. I mainly use C/C++. So for me, it may be hard to build the lazygit from the source under Windows. |
@asmwarrior I've just compiled this from my windows PC. Does it work for you? |
I tested this new binary under ComEmu, and here is the result. With and Sometimes, the unwanted characters are shown. With In both of the code page settings, the Chinese character width issue is fixed! This is good! But there are still same issues that the file path is still shown as a raw hex string, as the arrow 2 pointed in comment: the #24 (comment) |
Git will quote "unusual" characters in the pathname. |
Lazygit doesn't support i18n?
The text was updated successfully, but these errors were encountered: