thurask / Qt-Linguist

104 stars 12 forks source link

How do I translate Linguist.exe self #1

Open kli2013 opened 5 years ago

kli2013 commented 5 years ago

where did i put the *.qm file to translate it self

old 5.5.0 ver its in the translate folder next to the bin folder

os88sa commented 3 years ago

I'll join - could you add a translation of the Qt Linguist interface to other languages?

nkh0472 commented 10 months ago

The translations for the QT Linguist official software are stored in .\translations\, and for the python qt-main library, they are in .\Library\translations\. I attempted to update the QT Linguist official software's translation by modifying the qt_*.qm and linguist_*.qm files extracted from the python library. This successfully added Chinese language display.

However, for this repository, placing the qt_*.qm and linguist_*.qm files in either .\translations\ or .\Library\translations\ did not have any effect. I suspect that the location of translations is hard-coded during compilation. Unless the author takes specific actions, there might be limited options for addressing this issue.