- Posts: 596
- Thank you received: 0
LCNC 2.8 - Language bugs
4 years 4 months ago #245609
by zz912
Translate Tooltip Home button dont work was created by zz912
I am trying translate Gmoccapy LCNC 2.8.8 to Czech language.
A lot of texts works, but home all axis not.
The problem is not only for my translate. DE translate have same problem.
Attachment not found
A lot of texts works, but home all axis not.
Attachment not found
The problem is not only for my translate. DE translate have same problem.
Attachment not found
Please Log in to join the conversation.
4 years 4 months ago #245712
by HansU
Replied by HansU on topic Translate Tooltip Home button dont work
It seems that you are not yet using Weblate for your translation.
You just have to add your language here hosted.weblate.org/projects/linuxcnc/gmocappy/ .
Then I would strongly recommend you to do your translations there if you want to have them in master.
If you have already worked a lot on your translation based on the po file - I think there is a way to get your translations into Weblate.
Regarding the primary problem - I'll have a look...
You just have to add your language here hosted.weblate.org/projects/linuxcnc/gmocappy/ .
Then I would strongly recommend you to do your translations there if you want to have them in master.
If you have already worked a lot on your translation based on the po file - I think there is a way to get your translations into Weblate.
Regarding the primary problem - I'll have a look...
Please Log in to join the conversation.
4 years 4 months ago #245791
by HansU
Replied by HansU on topic Translate Tooltip Home button dont work
I fixed the strings in 2.8 as well as in master.
Please Log in to join the conversation.
4 years 4 months ago #246141
by zz912
If I created Czech for LCNC, will it be possible to easily switch LCNC to English in version 2.9? I am currently compiling the whole LCNC using "make" and I have a RIP installation, most LCNC users use live distribution and here I do not know how to change the language and whether it is possible at all. Czech is interesting only for some individuals, others would like to kill me if suddenly a change came and they had everything in Czech instead of English.
I also have a problem that I am not a machinist and I do not know suitable translations for some expressions. In addition, I find that Gmoccapy has features that I don't know what they are for, let alone how I translate their controls.
I tried to start a translation thread on the Czech forum
forum.strojirenstvi.cz/viewtopic.php?t=41960
but no one interested this topic. Maybe someone will be in the future.
Replied by zz912 on topic Translate Tooltip Home button dont work
I am a very conservative person, so I will use version 2.8 for as long as possible.It seems that you are not yet using Weblate for your translation.
You just have to add your language here hosted.weblate.org/projects/linuxcnc/gmocappy/ .
Then I would strongly recommend you to do your translations there if you want to have them in master.
If you have already worked a lot on your translation based on the po file - I think there is a way to get your translations into Weblate.
If I created Czech for LCNC, will it be possible to easily switch LCNC to English in version 2.9? I am currently compiling the whole LCNC using "make" and I have a RIP installation, most LCNC users use live distribution and here I do not know how to change the language and whether it is possible at all. Czech is interesting only for some individuals, others would like to kill me if suddenly a change came and they had everything in Czech instead of English.
I also have a problem that I am not a machinist and I do not know suitable translations for some expressions. In addition, I find that Gmoccapy has features that I don't know what they are for, let alone how I translate their controls.
I tried to start a translation thread on the Czech forum
forum.strojirenstvi.cz/viewtopic.php?t=41960
but no one interested this topic. Maybe someone will be in the future.
Please Log in to join the conversation.
4 years 4 months ago #246142
by zz912
I use RIP Installation. I download source from github:
I don't know the difference between "Branches" and "Tags"
Is "2.8" future version 2.8.3 in this moment?
Is in "2.8" this fix?
Replied by zz912 on topic Translate Tooltip Home button dont work
Is there a way to get this fix?I fixed the strings in 2.8 as well as in master.
I use RIP Installation. I download source from github:
Attachment not found
I don't know the difference between "Branches" and "Tags"
Attachment not found
Is "2.8" future version 2.8.3 in this moment?
Is in "2.8" this fix?
Please Log in to join the conversation.
4 years 4 months ago #246190
by zz912
Replied by zz912 on topic Translate Tooltip Home button dont work
I tried compile version 2.8 and it works. Thank you for FIX.
Attachment not found
Please Log in to join the conversation.
4 years 4 months ago #246203
by zz912
Replied by zz912 on topic Translate Tooltip Home button dont work
I found next bug:
github.com/LinuxCNC/linuxcnc/commit/cc1b...ff0bde4ffd9568313549
Code:
Gmoccapy.py
line 1160
old: btn.set_property("tooltip-text", _("Press to jog axis {0}".format(axis)))
new: btn.set_property("tooltip-text", _("Press to jog axis {0}").format(axis))
line 1179
btn.set_property("tooltip-text", _("Press to jog joint {0}".format(joint)))
same problem
line 1229
btn.set_property("tooltip-text", _("Press to run macro {0}".format(name)))
same problem
I fixed it like you. Can I ask you for fix it in Github?
Edit: I made Pull request
Please Log in to join the conversation.
4 years 3 months ago #246506
by zz912
Replied by zz912 on topic Translate Tooltip Home button dont work
I probably found another bug related to the translation. I don't want to start another thread.
Attachment not found
Please Log in to join the conversation.
4 years 3 months ago #246507
by zz912
Replied by zz912 on topic Translate Tooltip Home button dont work
I don't know if it's a bug, but it's strange that I'm being asked to translate text with underscores.
Attachment not found
Please Log in to join the conversation.
4 years 3 months ago #246511
by zz912
Replied by zz912 on topic Translate Tooltip Home button dont work
I didn't find a way to translate the "command" label.
Attachment not found
Please Log in to join the conversation.
Time to create page: 0.064 seconds
