After a lot of googling, I finally found a solution to how to create a Goldendict dictionary with images. The solution is to create the dictionary as a .dsl file and put the images in the same folder as the .dsl file. If that folder is one that Goldendict is set to search for dictionaries in, Goldendict will find it just as it finds Stardict format dictionaries. Here is a simple example of the .dsl file:
- Code: Select all
#NAME PICTURE_DICTIONARY
#INDEX_LANGUAGE "English"
#CONTENTS_LANGUAGE "English"
house
[s]HouseImage.jpg[/s]
car
[s]CarImage.jpg[/s]
I also found that the images cannot be compressed into a .zip, .7z, or .dz file. If they are, Goldendict will not find them.
Perhaps one can also add sounds and videos to a Goldendict dictionary using the same method and the same [s] tags. I have not tried that.