Thread: Dictionary FAQ
View Single Post
Old 05-01-2011, 08:53 AM   #5
PoP
 curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.
 
PoP's Avatar
 
Posts: 3,002
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
Quote:
Originally Posted by PoP View Post
...Or additional metadata that I am missing?
I solved my own problem.

From https://wiki.mobileread.com/wiki/MOBI I noticed in that in the MOBI header, at offsets 96 and 100 are the input and output languages for dictionaries.

It seems that Mobi2Mobi is reporting the language locale field at offset 92 and ignores the two next fields.

I then used a Hex editor to patch these fields in my spanish dictionary to 1034 1034 and in my german dictionary to 1031 1031 (replicating the language locale field indicated by Mobi2Mobi from offset 92).

Now all my dictionaries are switched to properly depending on the language locale of the book read.
PoP is offline   Reply With Quote