- Posts: 82
- Thank you received: 0
Help,How to customize language of QtDragon's interface
2 years 4 months ago #302210
by timaer
Replied by timaer on topic Help,How to customize language of QtDragon's interface
Hi,I'm not familiar with how QtPlamac works.I only think among all the builtin linuxcnc control panels,the QtDragon looks to be the most professional one.Since I'm newbee to the linuxcnc ,now I can only create and use the QtDragon panel through the linuxcnc wizard. Do you mean that you have the seperated version of QtDragon/hd which has the translation ability? If I use the version you provided then I dont need to translate the English string to Chinese anymore ? Hope to recv your reply ,thank you.
Please Log in to join the conversation.
2 years 4 months ago #302273
by cmorley
Replied by cmorley on topic Help,How to customize language of QtDragon's interface
I have added the ability to add translations to qtdragon/hd in the master development branch.
There are no translations as of yet.
This work just makes adding translations much easier then modifying the code directly.
Qtplasmac has had this for awhile and I just copied it.
There are no translations as of yet.
This work just makes adding translations much easier then modifying the code directly.
Qtplasmac has had this for awhile and I just copied it.
Please Log in to join the conversation.
2 years 4 months ago #302286
by timaer
Replied by timaer on topic Help,How to customize language of QtDragon's interface
Thanks ,separating the text translating and the source code will be a improvement for the codes level ,nice job!
Please Log in to join the conversation.
1 year 8 months ago #322717
by vre
Replied by vre on topic Help,How to customize language of QtDragon's interface
Where can find a skeleton of qss file with all button strings ?
Please Log in to join the conversation.
1 year 8 months ago #322728
by cmorley
Replied by cmorley on topic Help,How to customize language of QtDragon's interface
If you want to change lots of button text, it's probably better to use translation process. See here:
linuxcnc.org/docs/devel/html/gui/qtdrago...internationalisation
You can do this to change the text even to different English names.
If it's just a few then stylessheets is less involved but you would need to use designer to see the button text or search the .ui file.
linuxcnc.org/docs/devel/html/gui/qtdrago...internationalisation
You can do this to change the text even to different English names.
If it's just a few then stylessheets is less involved but you would need to use designer to see the button text or search the .ui file.
Please Log in to join the conversation.
1 year 8 months ago #322839
by vre
Replied by vre on topic Help,How to customize language of QtDragon's interface
But this supported in 2.9.4 or needs master?
Please Log in to join the conversation.
1 year 8 months ago #322843
by cmorley
Replied by cmorley on topic Help,How to customize language of QtDragon's interface
in 2.9 you would have to add the language folder and the script to automate the making of the .ts file.
And strings defined in the handler file will not be translatable but most of the buttons are done in designer and that should work. (though I have not tried it)
It's possible just more work. (You could also modify the 2.9 handler to add translatable strings, it's pretty straight forward.)
If your interested I can give more detail.
And strings defined in the handler file will not be translatable but most of the buttons are done in designer and that should work. (though I have not tried it)
It's possible just more work. (You could also modify the 2.9 handler to add translatable strings, it's pretty straight forward.)
If your interested I can give more detail.
Please Log in to join the conversation.
1 year 8 months ago #322846
by vre
Replied by vre on topic Help,How to customize language of QtDragon's interface
ok then master..
When 2.10 will be released do you know something ?
When 2.10 will be released do you know something ?
Please Log in to join the conversation.
1 year 8 months ago #322894
by cmorley
Replied by cmorley on topic Help,How to customize language of QtDragon's interface
I know of no talk about releasing 2.10 anytime soon.
Please Log in to join the conversation.
1 year 7 months ago #323319
by vre
Replied by vre on topic Help,How to customize language of QtDragon's interface
I have installed master and done qm file with linguist how to install it to qtdragon_hd?
Please Log in to join the conversation.
Time to create page: 0.062 seconds
