View Single Post
Old 07-13-2023, 04:37 AM   #205
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 876
Karma: 3501146
Join Date: Jan 2017
Location: Poland
Device: Various
Indeed – the Ukrainian translation of the Qt system does not exist, so it is difficult to expect it in the near future.

I can offer a workaround. I am attaching a "minimal" file, which is enough to make everything work nicely in Sigil.
There is a Russian translation inside, which will allow you to prepare a Ukrainian version.

Then from the TS file, prepare the QM file (lconvert.exe is available after installing Qt, but if you send me the TS file I'll do it right away).

Code:
lconvert.exe -i qtbase_uk_UA.ts -o qtbase_uk_UA.qm -if ts -of qm
Then just add qtbase_uk_UA.qm file to the Sigil translations folder and it will work (file must have exactly this name, as the suffix of the language must match the suffix of the Sigil interface translation).

Unfortunately, such a prepared "minimal" file will not be added to the Sigil installer, as this would require manual intervention each time, and this, with the automation of the whole process, is not an option.

In the attachments, I attach a few more places where this translation is used:
sigil-qtbase1.png – context menu in Code View Window
sigil-qtbase2.png – hint for Close Tab
sigil-qtbase3.png – context menu for scrollbar
Attached Thumbnails
Click image for larger version

Name:	sigil-ua.png
Views:	1116
Size:	13.2 KB
ID:	202625   Click image for larger version

Name:	sigil-qtbase1.png
Views:	1163
Size:	35.3 KB
ID:	202626   Click image for larger version

Name:	sigil-qtbase2.png
Views:	1110
Size:	4.7 KB
ID:	202627   Click image for larger version

Name:	sigil-qtbase3.png
Views:	1148
Size:	3.9 KB
ID:	202628  
Attached Files
File Type: zip qtbase_uk_UA_ts.zip (1.6 KB, 781 views)
BeckyEbook is offline   Reply With Quote