Script to create bilingual tab delimited terminology files from multilingual table
So I have a table with entries for 20 languages approx. and another one with many more languages. I suppose the script already exixts.
What is needed is say:
read in column A and column B in file <something.csv>
add to file <something.txt>
skip if field A or B in line are empty and go ahead with next line
stop at eof <something.csv>
Now I have a script to create .kvtml file in Python which I know how to modify for this stuff, but there is some kind of condition in there that creates me problems ... I don't know what to exclude to not write the lesson numbers - these are required and not really being able to program I don't find that line ... hmmm
But I suppose there is already a python script that is able to do what I need, just create a tab delimited txt files which has entries like these
dog\tHund
house\tHause
...
- Bina Meusl's blog
- Login or register to post comments


Ok ... now thanks to the #pootle chat I have a way to do this from comand line and so this can go into the .sh file :-)
On comand line write:
cut -s -f2,3 originalfilename > targetfilename
I know there are more elegant solutions, but for me: the result counts and well :-)))