Help,How to customize language of QtDragon's interface
- timaer
- Offline
- Premium Member
-
Less
More
- Posts: 82
- Thank you received: 4
03 Jun 2024 01:33 #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 or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7863
- Thank you received: 2121
03 Jun 2024 21:16 #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.
The following user(s) said Thank You: tommylight, timaer
Please Log in or Create an account to join the conversation.
- timaer
- Offline
- Premium Member
-
Less
More
- Posts: 82
- Thank you received: 4
04 Jun 2024 01:35 #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 or Create an account to join the conversation.
- vre
- Away
- Platinum Member
-
Less
More
- Posts: 609
- Thank you received: 17
26 Feb 2025 16:30 #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 or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7863
- Thank you received: 2121
26 Feb 2025 19:04 #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 or Create an account to join the conversation.
- vre
- Away
- Platinum Member
-
Less
More
- Posts: 609
- Thank you received: 17
28 Feb 2025 04:42 #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 or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7863
- Thank you received: 2121
28 Feb 2025 06:04 #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 or Create an account to join the conversation.
- vre
- Away
- Platinum Member
-
Less
More
- Posts: 609
- Thank you received: 17
28 Feb 2025 06:44 #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 or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7863
- Thank you received: 2121
28 Feb 2025 22:13 #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 or Create an account to join the conversation.
- vre
- Away
- Platinum Member
-
Less
More
- Posts: 609
- Thank you received: 17
05 Mar 2025 23:41 #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 or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.074 seconds