Using Git to install LinuxCNC for translation
19 Jun 2013 15:18 #35808
by SvenH
Using Git to install LinuxCNC for translation was created by SvenH
I would like to translate the axis interface in to Dutch.
From what I understand the best thing to do is use "Git" so that all changes and new stuff can be easily be added to repositories so they become availabel to everyone.
The wiki pages seem a bit dated so I'll have to ask a lot of questions to get started.
First of all, does my pc get a new install of linC when I start using git? I use the simulator on my day to day laptop.
From what I understand the best thing to do is use "Git" so that all changes and new stuff can be easily be added to repositories so they become availabel to everyone.
The wiki pages seem a bit dated so I'll have to ask a lot of questions to get started.
First of all, does my pc get a new install of linC when I start using git? I use the simulator on my day to day laptop.
Please Log in or Create an account to join the conversation.
19 Jun 2013 17:50 - 19 Jun 2013 18:27 #35810
by BigJohnT
Replied by BigJohnT on topic Using Git to install LinuxCNC for translation
This page is the instructions for add a po file to translate.
wiki.linuxcnc.org/cgi-bin/wiki.pl?Internationalization
Edit: a little googling and it looks like the Dutch translation file should be nl.po which I don't see in the repository.
My favorite page for adding git is
wiki.linuxcnc.org/cgi-bin/wiki.pl?Instal..._the_source_with_git
When you install git and download the source files you can create a RIP(Run In Place) version which does not change the installed version. Make sure you get the 2.5 branch as git is push up not push down.
JT
wiki.linuxcnc.org/cgi-bin/wiki.pl?Internationalization
Edit: a little googling and it looks like the Dutch translation file should be nl.po which I don't see in the repository.
My favorite page for adding git is
wiki.linuxcnc.org/cgi-bin/wiki.pl?Instal..._the_source_with_git
When you install git and download the source files you can create a RIP(Run In Place) version which does not change the installed version. Make sure you get the 2.5 branch as git is push up not push down.
JT
Last edit: 19 Jun 2013 18:27 by BigJohnT.
Please Log in or Create an account to join the conversation.
06 Aug 2013 23:20 #37454
by sascha
Replied by sascha on topic Using Git to install LinuxCNC for translation
Any news to this? I am really interested in this because of a duch customer. Could I help?
Please Log in or Create an account to join the conversation.
07 Aug 2013 15:53 #37470
by SvenH
Replied by SvenH on topic Using Git to install LinuxCNC for translation
I think I have git installed now, and have found the linuxcnc-dev files, which include the .po files.
Can I just take the de.po file and save that as nl.po and then start translating al German text to Dutch?
I read that I have to start with .pot files but can not find those.
Can I just take the de.po file and save that as nl.po and then start translating al German text to Dutch?
I read that I have to start with .pot files but can not find those.
Please Log in or Create an account to join the conversation.
07 Aug 2013 23:59 #37483
by BigJohnT
Replied by BigJohnT on topic Using Git to install LinuxCNC for translation
Please Log in or Create an account to join the conversation.
08 Aug 2013 01:00 - 08 Aug 2013 01:01 #37485
by SvenH
Replied by SvenH on topic Using Git to install LinuxCNC for translation
I read that page, it mentions .pot files in scr/po but there are none to be found there.
Maybe I have the wrong version?
Edit: The mentioned page is still about emc, maybe it is old?
Maybe I have the wrong version?
Edit: The mentioned page is still about emc, maybe it is old?
Last edit: 08 Aug 2013 01:01 by SvenH.
Please Log in or Create an account to join the conversation.
08 Aug 2013 01:46 #37487
by BigJohnT
Replied by BigJohnT on topic Using Git to install LinuxCNC for translation
It should still apply, maybe there is a typo on the location, let me look.
JT
JT
Please Log in or Create an account to join the conversation.
08 Aug 2013 02:00 #37488
by BigJohnT
Replied by BigJohnT on topic Using Git to install LinuxCNC for translation
I'm stumped and have asked the developers for some guidance. I also found this:
git.linuxcnc.org/gitweb?p=linuxcnc.git;a...fs/heads/v2.5_branch
The .po files are in src/po but I think there is more to it than that. If you have a chance join the #linuxcnc-devel channel on the IRC and ask.
JT
git.linuxcnc.org/gitweb?p=linuxcnc.git;a...fs/heads/v2.5_branch
The .po files are in src/po but I think there is more to it than that. If you have a chance join the #linuxcnc-devel channel on the IRC and ask.
JT
Please Log in or Create an account to join the conversation.
09 Aug 2013 01:07 - 09 Aug 2013 01:08 #37506
by sascha
Replied by sascha on topic Using Git to install LinuxCNC for translation
Just as a quick test I've downloaded the source (2.5.3 tarball) unpacked and build it (with --enable-simulator).
then:
# export LANG=nl_NL.utf8
# scripts/linuxcnc configs/5axis/5axis.ini
-> Axis starts up with english text
# cp src/po/de.po to src/po/nl.po
# (cd src; make)
# scripts/linuxcnc configs/5axis/5axis.ini
-> Axis starts up with german text
then:
# export LANG=nl_NL.utf8
# scripts/linuxcnc configs/5axis/5axis.ini
-> Axis starts up with english text
# cp src/po/de.po to src/po/nl.po
# (cd src; make)
# scripts/linuxcnc configs/5axis/5axis.ini
-> Axis starts up with german text
Last edit: 09 Aug 2013 01:08 by sascha.
Please Log in or Create an account to join the conversation.
09 Aug 2013 01:56 #37508
by SvenH
Replied by SvenH on topic Using Git to install LinuxCNC for translation
Phew,
I am quite comfy with editing .po files and translating english-dutch but this explanation freezes me
I would need to be taken by the virtual hand in order to make sense of the humongous amount of steps that seem to lay before me.
Would it be an option to just translate the po files I have an then email those to someone?
I am quite comfy with editing .po files and translating english-dutch but this explanation freezes me
I would need to be taken by the virtual hand in order to make sense of the humongous amount of steps that seem to lay before me.
Would it be an option to just translate the po files I have an then email those to someone?
Please Log in or Create an account to join the conversation.
Time to create page: 0.098 seconds