That's just great LucasCorso. Maybe I'll try it this afternoon.
Thanks.
Quote:
Originally Posted by LucasCorso
I made a quick and dirty Windows application to patch a mobi file to the language I need. Of course, I'm not at home now so it will have to wait until tonight. But if you understand how to work with a hex editor it's very easy to change the language code yourself.
I will post a screen capture as an example.
Usually you can recognize a dictionary because of a smaller number of FF in the header. In my example it's 28 (a book usually has 40). But search with a hex editor for 20 FFs lets say. After the last FF in that group, ignore the next 12 bytes (I don't know what they are), and the next 12 bytes you need to modify, each group of 4 represents a language code. In the picture attached, it is 04 09, then 09, then again 09. 09 is English, 04 09 is American English. I found in my tests with dictionaries that patching these to English I don't have problems and no more error messages: "can't open the default dictionary".
I hope it helps a little.
|