View Single Post
Old 02-07-2026, 07:05 PM   #22
retoid
Member
retoid began at the beginning.
 
retoid's Avatar
 
Posts: 22
Karma: 10
Join Date: Jan 2026
Device: Kindle Scribe (2024)
Quote:
Originally Posted by Doitsu View Post
Any of the supported input files listed on the github page.


If both the .html and the .opf file are correctly formatted, you can simply generate the dictionary with KindleGen. (pyGlossary is only needed for converting word lists and other dictionary formats to Kindle dictionaries.)

BTW, if you unpack a working mobi dictionary using Calibre or KindleUnpack you might not get the required .opf file, because Amazon uses some custom <x-metadata> metadata entries that are usually not restored.

They look like this for a monolingual US English dictionary:

Code:
    <x-metadata>
      <DictionaryInLanguage>en-us</DictionaryInLanguage>
      <DictionaryOutLanguage>en-us</DictionaryOutLanguage>
      <DefaultLookupIndex>default</DefaultLookupIndex>
    </x-metadata>
Without this section, KindleGen will treat the source file like a regular book.

For more information see this website and the Kindle Publishing Guidelines.
is <x-metadata> the actual tag or should it be <metadata>?
retoid is offline   Reply With Quote