-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Need an available way to finish formatting works on Windows #1394
Comments
Hi @TheBlueAlgae, Thanks for opening this! We should track the findings of #1381 here so we can find a solution.
More precisely: I'm surprised to see that Status Right NowI'm on Linux and use This seems to work well: I will try installing Gettext on a Windows machine somehow. That will allow me to debug what is going on. In parallel, you could try using Windows Subsystem for Linux (WSL) to install Gettext and the rest of the tools. The default Linux distrubtion is Ubuntu, so it should work very well out of the box. |
I downloaded the Gettext binaries for Windows, I picked the gettext0.21-iconv1.16-static-64.zip to try on a laptop with a recent Windows. I then downloaded Next, I tried downloading a different set of Gettext tools: GNU gettext tools for Windows. The Can you try installing the binaries from that repository instead and tell me if |
Ok, I will download the second version of Gettext you mentioned and attempt to format files again. Then I will tell you if that worked well. |
…#1402) I formatted the translation file on WSL. Worried about being failed again, so I just improved some translations. Update: Things seems very nice and I will continue my translating work. Translation contributors who use Windows OS must use WSL instead of using `dprint fmt` command on Windows itself, until the resolution that can make the experience on Windows equal to Linux emerged. To learn more about that, see this issue: #1394 . --------- Co-authored-by: Emma Li <[email protected]>
Hi @mgeisler ! I feel so happy that the second version of Gettext Tool you mentioned seems worked well! I used it to format an edited translation file and then made a commit. The file is now passed all checks and is ready to be merged into main branch! However, I have not verified whether the In addition, this Gettext Tool does not have a setup program, with some compressions distributed instead. So, after downloading a compression distribution from the Release download page, contributors must decompress it into a directory before using this tool. Then, it is better that add the path where the |
Amazing, this is great news! Thanks a lot for verifying this 😄
It's been a few years since I used Windows regularly... but what you say make sense. Do you think you could write up instructions for where to put the files (if there is a directly commonly found in We now have both Formatting and Preparation as places where we explain how to install the necessary tooling. I would suggest that we unify this into a single location (I'm thinking |
I created #1426 to remind ourselves to simplify the setup instructions into one place. |
Recently I attempted updating translation files (also the
.po
file in/po
folder) and randprint fmt
on my computer, but when I committed the file, I surprisingly found that the file did not format as the proper form that the repository showed.Later, @mgeisler told me that the way the
msgcat
handles translation files is different between Windows and Linux. He also told me to try some values that matches the standard format. Ok, well, I not only tried 79 and other adjacent numbers, but also ranmsgcat -o po/xx.po --no-wrap po/xx.po
.But unfortunately, none of these methods have worked.
So, I determined to open this issue after attempting varieties of methods. I hope someone can find out some ways to solve this issue, or it might make contributors who use Windows confused.
The text was updated successfully, but these errors were encountered: