Login  Register

Re: Plugin language strings / translation

Posted by xnakos on Jun 22, 2013; 3:38pm
URL: https://forum.librecad.org/Plugin-language-strings-translation-tp5708273p5708428.html

Armin, hi!

Thanks for the report! After some playing around, I really cannot say if loading multiple qm files for the same language is even possible. But I believe there is an alternative solution, that would require less coding and just a bit more scripting. The 'lconvert' tool from the qt linguist pack. This seems to be able to merge ts (or qm) files and create a single one to be loaded. So, separate translation files could exist for different parts, for plugins for instance, merging of which could happen later on. Have that in mind too.