How to convert stardict dictionary file format to any readable format (xml, txt or something)?

link|improve this question
feedback

2 Answers

The stardict-tools tarball downloadable from their website has a stardict2txt tool that you'll need to build from source.

link|improve this answer
It's almost impossible to compile though. I tried on FreeBSD, OS X, and finally Ubuntu. After numerous fixes to the code, I got it to compile but it segfaults when you run it. – Gazzer Sep 2 '10 at 4:29
feedback

I found this step by step guide on how to use the StarDict editor for Windows in order to decompile a StarDict dictionary to XML format.

  • Extract all files to a folder and then launch the file stardict-editor.exe, switch to the tab DeCompile.
  • Now look at the dictionary files of StarDict you got, there should be 3 files : *.idx, *.ifo, *.dz.
  • Rename the *.dz file to *.gz. Use WinZip or WinRAR to extract the *.dict file inside.
  • Rename all the *.dict, *.ifo, *.idx files to a same name.
  • Back to the StarDict Editor program, click Browse and select the *.ifo file and hit Decompile.
  • You will see a new *.txt file inside the folder.
  • Use it with DfM DictionaryGeneration.
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.