DrewNaylor / guinget

Unofficial GUI for Microsoft's Windows Package Manager (winget). Kinda like Synaptic, but for Windows. Not associated with either Microsoft or the Synaptic project, and Microsoft does not endorse this software.
Apache License 2.0
136 stars 3 forks source link

Let add local language support #139

Open BUGProtectionAssociation opened 2 years ago

BUGProtectionAssociation commented 2 years ago

Not only English but also French Japanese Chinese and more!

DrewNaylor commented 2 years ago

I've been wanting to do this for a while, but this is something that people who know languages besides English will have to help with to add translations. I also don't know how to properly use the resource translation files, so I'll have to really go over that and make sure it'll work with Pig Latin instead of English for testing (that's what Microsoft did for Longhorn, and I think that's a good idea). Hopefully text still fits everywhere, as that's my main concern, but there should be a way to do it. I'll try to work on adding support for translations in the next version.

BUGProtectionAssociation commented 2 years ago

I've been wanting to do this for a while, but this is something that people who know languages besides English will have to help with to add translations. I also don't know how to properly use the resource translation files, so I'll have to really go over that and make sure it'll work with Pig Latin instead of English for testing (that's what Microsoft did for Longhorn, and I think that's a good idea). Hopefully text still fits everywhere, as that's my main concern, but there should be a way to do it. I'll try to work on adding support for translations in the next version.

Another GUI front end for winegt the “WingetUI” has achieved the i18n(local language support) If possible. You could also have a try for the https://app.tolgee.io It make it easy for others translate this app😊I hope WingetUI and this app become more useful. Don‘t give up on this app object though it has some shortcomings.

DrewNaylor commented 2 years ago

Thanks, I'll have to look into that more, although from what it looks like at first glance, it seems to be mainly for webpages, might not do dotnet (in a screenshot of stuff to choose for a project, anyway), and doesn't use PRs yet (one of their open issues). I'll also check into what WingetUI did for their translations, if they use dotnet.

Edit: Forgot that they used Python for their version, and it appears their translations use json, so I need to figure out an approach that would make it easy for translations to be submitted for my stuff. With Windows Forms, that would also probably involve repositioning controls to fit everything in (which is supported by resource translation files), but otherwise I'd need something else for Qt, but I know that has a translation system although I don't know about if it can do positioning.