Quote:
Originally Posted by DNSB
And as I mentioned, the one person for whom I converted a Stardict dictionary into mobi format was unable to get the dictionary to work either by placing it in documents/dictionaries on their Kindle or by using Send to Kindle. This is likely an issue with Pyglossary [...]
|
KindleGen supports only a very limited number of source and target languages for dictionaries. When I last checked this only the following language codes were supported:
If the language code is not supported you'll have to select one of the supported language codes for the input language and also change the language code of the books that you want to use the DIY dictionary with to that arbitrary input language code.
IIRC, in dictionaries generated by older PyGlossary versions the following custom opf section was sometimes missing or incorrectly formatted:
Code:
<x-metadata>
<output encoding="utf-8"/>
<DefaultLookupIndex>default</DefaultLookupIndex>
<DictionaryInLanguage>XX</DictionaryInLanguage>
<DictionaryOutLanguage>YY</DictionaryOutLanguage>
</x-metadata>
PyGlossary also won't check if the source and target languages are actually supported by KindleGen. This means that you can end up with a non working dictionary, even if the source files were correctly formatted.
IIRC, there were also some language specific issues, e.g. there were some problems with DIY Korean dictionaries.