Giter VIP home page Giter VIP logo

tab2opf's Introduction

How to create a Kindle dictionary from a free translation list

  1. Went to https://www.dict.cc and downloaded the one I wanted (NL->EN).
  2. Removed some strange empty line between comments and translations (that should be in the format word \tab word) -- it rubbed the script in step 3 the wrong way.
  3. Ran tab2opf.py on the .txt and that gave me a .opf and 3 .html files. Had to edit by hand the .opf to read like:
    <DictionaryInLanguage>nl</DictionaryInLanguage>
    <DictionaryOutLanguage>en</DictionaryOutLanguage>

(Perhaps some modern versions of tab2opf.py accept --source and --target but not mine).

  1. Ran kindlegen on the .opf to generate a .mobi. kindlegen was mentioned but not available in the Amazon KDP web site, so I got the Kindle Previewer v3 instead and found kindlegen inside:
   /Applications/Kindle\ Previewer\ 3.app/Contents/MacOS/lib/fc/bin/kindlegen
    the_opf_file.opf -verbose -o nederlands_engels_woordenboek.mobi

I tried copying and running kindlegen from elsewhere and it did work :-)

  1. Stuffed the produced .mobi in my kindle, and it worked! :-)
  2. Some interesting links:

tab2opf's People

Contributors

apeyser avatar yellowdoge avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.