Page 1 of 1

stardict 2 goldendict

PostPosted: Sun Jun 19, 2011 12:51 pm
by The waiter
I have Lingea lexicon dictionary for stardict. I had to use python script to get all data from original two lingea files. Then I got ccs style tab file and I had to use stardict editor to convert it to idx, ifo and dict files. Then I started to use GoldenDict. GD understand Lingea files from stardict but the format is wrong. It just takes all data for one keyword and puts it in one single line.
My question is: how to simply convert file with ccs format tags to dsl file with html format tags?
Thak you for quick answer

Re: stardict 2 goldendict

PostPosted: Tue Jun 21, 2011 4:14 am
by ikm
What does the 'sametypesequence' field in the .ifo file equal to?

Re: stardict 2 goldendict

PostPosted: Tue Jun 21, 2011 7:18 pm
by The waiter
it equals g. I changed it according to manual from m to g.
But my problem has been solved by myself. I had to modified python source file and replace all <span ... tags to dsl format tags and make some more improvements via MS Word.
Now it works great.
However, thanx for your attention.

Re: stardict 2 goldendict

PostPosted: Wed Jun 22, 2011 2:11 am
by ikm
'g' entries are not supported. The StarDict documentation states that 'g' is for:
A utf-8 string which is marked up with the Pango text markup language.

Use html ('h') instead.

Re: stardict 2 goldendict

PostPosted: Wed Jun 22, 2011 12:17 pm
by The waiter
No no, it did not help...

Re: stardict 2 goldendict

PostPosted: Sat Feb 14, 2015 8:44 pm
by nicoursi
Could you please share your work? I would be interested to either have your modified version of python or the converted dictionaries. Let me know. you con send me a pm if you like