Quote:
Originally Posted by baskerville
Not exactly.
- If you haven't done this already, install Homebrew.
- Install the dict package: brew install dict.
- Install sdunpack:
Code:
git clone https://github.com/baskerville/sdunpack
cd sdunpack
cargo install --path .
- You can now convert a StarDict dictionary with:
Code:
dictzip -d file.dict.dz
sdunpack file.dict < file.idx > file.txt
dictfmt --utf8 --index-keep-orig --headword-separator '|' -s "ShortName" -u "URL" -t file2 < file.txt
dictzip file2.dict
- Copy the generated files (file2.index and file2.dict.dz) to the dictionaries directory.
|
Thanks baskerville! I had homebrew installed, I managed to clone the git, but when I type 'cargo install --path' nothing happens I get a message 'command not found', not sure why. Any thoughts on this?
Here it is:
One other thing, after being able to install sdunpack, where should I put the .dict.dz file or where should I put the location of it? Also, where will the output be? I'm sorry for all the questions, I promise I'll study unix terminal language, but so far I know almost nothing about it.
Quote:
Originally Posted by trekk
You might want to turn off Homebrew’s analytics tracking. This can protect your privacy. The command is:
|
Thanks a lot trekk! Maybe you could also help me with my questions above?