Thread: Dictionary FAQ
View Single Post
Old 05-01-2011, 09:53 AM   #5
PoP
Antoní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: 510
Karma: 6391817
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3.₄, PRS-350, SGS3, Rπ, iPad Air
Quote:
Originally Posted by PoP View Post
...Or additional metadata that I am missing?
I solved my own problem.

From http://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