Files translation

More
9 years 2 months ago #97377 by jstoquica
Replied by jstoquica on topic Files translation
Hi,

Congrats. You can share with LinuxCNC community "know how", other people can take advantage of your developments.

Regards.

Please Log in or Create an account to join the conversation.

More
9 years 2 months ago #97379 by massimodamassa
Replied by massimodamassa on topic Files translation
Editing the /usr/share/axis/tcl/axis.tcl file with gedit

# Comments what you do not need and change the values of buttons and texts

I've been trying for months.

I have to be able to put the pyvcp panel in the sx frame and change the color to the buttons

Please Log in or Create an account to join the conversation.

More
9 years 2 months ago - 9 years 2 months ago #97383 by eFalegname
Replied by eFalegname on topic Files translation
more foto please! You know, Massimo! I love your pics.
(let me see your .tcl file please...)
Last edit: 9 years 2 months ago by eFalegname.

Please Log in or Create an account to join the conversation.

More
9 years 2 months ago - 9 years 2 months ago #97390 by massimodamassa
Replied by massimodamassa on topic Files translation
Here it is, but for a 3 axis you will see that it is not good, but you know how to do it.
I also wrote in Italian ;-)

eccolo, ma per un 3 assi vedrai che non va bene, pero' capisci come fare.


www.w3ii.com/it/tcl-tk/tk_widgets_overview.html


Rename it in axis.tcl
Last edit: 9 years 2 months ago by massimodamassa.
The following user(s) said Thank You: eFalegname

Please Log in or Create an account to join the conversation.

More
9 years 2 months ago #97511 by andypugh
Replied by andypugh on topic Files translation
[quote="massimodamassa" post=97390Rename it in axis.tcl[/quote]

If the strings that you edited are in the form _"This is a string" then the string _should_ be in the translation files.

For example in axis.tcl :
Code:
setup_menu_accel .menu.machine end [_ "_Zero coordinate system"]

Relates to this in the it.po file
Code:
#: share/axis/tcl/axis.tcl:200 msgid "_Zero coordinate system" msgstr "Sistema coordinate _Zero"

However, I think that you need to recompile to get changes to the translation files to work.

Please Log in or Create an account to join the conversation.

More
9 years 2 months ago #97518 by massimodamassa
Replied by massimodamassa on topic Files translation
I found another system, just type the word translated into the original string, not finding the correspondent, print the correct one.
It works with everything except the home button.

For example in axis.tcl:
Setup_menu_accel .menu.machine end [_ "_ what you want it to appear"]

I have not been able to compile, otherwise I would have tried version 2.8.0 I'm curious to see the G71 ;-) even though I'm doing everything onboard with Ecam remotely with remmina

Please Log in or Create an account to join the conversation.

Time to create page: 0.334 seconds
Powered by Kunena Forum