francescmm / GitQlient

GitQlient: Multi-platform Git client written with Qt.
https://www.francescmm.com
GNU Lesser General Public License v2.1
843 stars 84 forks source link

[Questions]How to add translation #281

Closed ShuiHuo closed 1 year ago

ShuiHuo commented 1 year ago

I added a translation file via qt Linguist, then how do I use this translation?

ls src/resources/translations/
gitqlient_en.qm  gitqlient_en.ts  gitqlient_zh_CN.qm  gitqlient_zh_CN.ts
francescmm commented 1 year ago

Hi @ShuiHuo,

GitQlient right now is prepared for translation (almost all text can be translatable) but it's not ready for it in the sense that there is no option for language selection.

If you want to provide the translations in a PR this can be the moment to implement that in GitQlient. I assume it won't take too much and it will be a nice addition :)