QCAD.org Forum

Discussion forum for contributors and developers who are using the QCAD version 3 ECMAScript development platform or the C++ plugin interface or who are otherwise looking to contribute to QCAD (translations, documentation, etc).

I would like to teach children in our school how to use QCAD,but before that I would like to translate QCAD to their mother language.

Now when I look in https://github.com/qcad/qcad/tree/master/ts I already see some files ending with "_sl.qm" that are 6 months oldbut those files I can't find under my C:\Program Files (x86)\QCAD\tsand also when I run QCAD and go to edit->Application Preferences->Language Settings->Language I can't see option SlovenianI tried to copy the files from github to local ts folder and then I can select Slovenian, but I can't see any change in interface after QCAD restart.

I have checked in translation sources for Slovenian today as a start for a Slovenian translation.

Please note that due to the modular design of QCAD, translation sources are located in the 'ts' directory of each individual tool.For example for the tool to draw lines from two points, translation sources are located in 'scripts/Draw/Line/Line2P/ts':https://github.com/qcad/qcad/tree/maste ... /Line2P/ts

Those .ts files can be translated with Qt Linguist if you download the .ts files or clone the complete QCAD sources from github.I've also attached a dictionary file with some known translations which can be loaded with Qt Linguist to provide known translations.

Please let me know if you need any help with the translation process, cloning sources, etc.

If you have a github account, I'm also happy to add you to the contributors list, so you can push translations directly (just let me know what your user name on github is in this case).

andrew wrote:I've also attached a dictionary file with some known translations which can be loaded with Qt Linguist to provide known translations.

Was this Phrase book somehow generated from old QCAD version (LibreCAD?) or is it from some public Phrase server? Because when I tried to open it id Qt Linguist it reported error on line 277.After checking the file, I saw that all unknown phrases have are missing </target> so simple find and replace had fixed this error.

I'm just asking this to know if at some (later?) time is smart to do a full translation of this file, to help others.

miharix wrote:Was this Phrase book somehow generated from old QCAD version (LibreCAD?) or is it from some public Phrase server?

Yes, that was generated form various sources.

miharix wrote:Because when I tried to open it id Qt Linguist it reported error on line 277.After checking the file, I saw that all unknown phrases have are missing </target> so simple find and replace had fixed this error.

Thanks for letting me know.

miharix wrote:I'm just asking this to know if at some (later?) time is smart to do a full translation of this file, to help others.

Don't worry about that - I can automatically regenerate that file anytime from QCAD 2 / QCAD 3 sources and any other .ts or .po files.

Does the "Qt Linguist" have some hidden console switches, or how do you perform the bach release?I'm asking because, friends over Slovenian RC forum, are wiling to check the correctness of the translation.

I'm almost done, but I stuck on 8 files that are crashing Qt Linguist.In all I see there is missing a part of the "<xml>" structure. I also looked in other translations but other files are also "broken"