Page 2 of 2

Re: How to convert *.xdxf format to a GoldenDict format?

PostPosted: Fri Apr 06, 2012 2:28 pm
by chulai
XDXF dictionaries work perfectly ok for me:

xdxf support.JPG
xdxf support.JPG (97.43 KiB) Viewed 18107 times


xdxf support2.JPG
xdxf support2.JPG (67.64 KiB) Viewed 18107 times


There is a bug though. GoldenDict does not scan XDXF files if they are located in a subfolder of the folder selected in Dictionaries > Sources > Files. Even if you select Recursive checkbox for that folder. So the workaround for now is to browse to the exact folder where the *.xdxf files are and select that in Dictionaries > Sources > Files.

Hope that helps.

Edit: There is no such bug. I have retested and it works correctly.

Re: How to convert *.xdxf format to a GoldenDict format?

PostPosted: Fri Apr 06, 2012 3:13 pm
by Abs62
Hm. GoldenDict use the same search algoritm for all types of dictionaries.

Re: How to convert *.xdxf format to a GoldenDict format?

PostPosted: Fri Apr 06, 2012 3:21 pm
by Alec
I've been using XDXF dictionaries with the latest Github build for some time, without any problems, on Windows 7 (both 32- and 64-bit versions) and on XP.

Perhaps the problem is confined to Unix/Linux.

Re: How to convert *.xdxf format to a GoldenDict format?

PostPosted: Sat Apr 07, 2012 2:25 am
by doctorcolossus
Hmm, interesting. Well thanks for confirming that, guys. It's good to know that it is theoretically working.

I'd settled on using XDXF for a conversion project after reading that GoldenDict now supported it and I'd just been knee-deep in scripting to that end before I finally got round to compiling from github.

It's my first time trying to load the XDXF format in any program, so maybe I'm doing something really obvious wrong. So far I'm just trying to load example dictionaries from the XDXF SourceForge. I'll try to follow up with further details soon.

Re: How to convert *.xdxf format to a GoldenDict format?

PostPosted: Sat Apr 07, 2012 4:23 pm
by chulai
Abs62 wrote:Hm. GoldenDict use the same search algoritm for all types of dictionaries.


Yes, you are right. I had to remove the xdxf folder and readd it for GD to be able to found and index the dictionary. Strange! But I can confirm that XDXF works with the last repository version in Ubuntu 11.10, Win7 and OS X 10.6.8 even if they are located in a subfolder.

Re: How to convert *.xdxf format to a GoldenDict format?

PostPosted: Sat Apr 07, 2012 9:21 pm
by doctorcolossus
In my folder I've got the test XDXF dictionary in all possible ways I could think of -- as a bzipped tar, as a straight dict.xdxf, and in its own folder (yeah, I know you guys sad recursive scan isn't working, but I'm just tryin' since non-recursive scan doesn't work for me):
Image
I add this folder in GoldenDict's settings:
Image
Clicking "Rescan now" either briefly shows a "Please wait" dialog or else does nothing.
Checking or unchecking 'Recursive' has no effect.
No dictionaries are loaded: :roll:
Image
As I said, I built the latest GoldenDict from source a couple of days ago:
Image
Before that, I had also tried with the Ubuntu repositories version.
I'm running Ubuntu 11.04.

Any ideas what I'm doing wrong?

Re: How to convert *.xdxf format to a GoldenDict format?

PostPosted: Sun Apr 08, 2012 1:30 am
by ikm
Your 'About' screenshot doesn't really look too new. Please get the latest source from github.

Re: How to convert *.xdxf format to a GoldenDict format?

PostPosted: Sun Apr 08, 2012 2:05 am
by doctorcolossus
Really? :shock: So what version is the latest?

I just cloned again from git://github.com/goldendict/goldendict.git and am recompiling, but g++ is outputting lines with -DPROGRAM_VERSION=\"1.0.1+git\" so I'm thinking I have the same thing again... :| Am I supposed to clone from some developmental branch instead of master?

Re: How to convert *.xdxf format to a GoldenDict format?

PostPosted: Sun Apr 08, 2012 2:15 am
by doctorcolossus
OK, wait a sec... Yeah, you're right. I must've done something wrong before, because now I have version b0e009d. :?

Now XDXF dictionaries are working for me. Thanks! :D