![]() |
#1 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Jul 2010
Location: Usa
Device: magflalmVE
|
How to correctly change language metadata of a dictionary?
I've downloaded a German-English dictionary from here, but I cannot get it to show up as anything other than an English dictionary. I've installed Mobi2Mobi, it says it's German. Calibre says it's German. The only thing I've found that disagrees is my Kindle. I'm probably missing something rather simple, especially since it's late...but I just can't see what.
And on a completely different and considerably less important note, is there a reason the kindle seems to only display Amazon Local ads on the home screen or screensaver? It did that at first, then the first and only local ad expired and they all changed. Now a new local ad has downloaded and they don't change again. o.O |
![]() |
![]() |
![]() |
#2 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,680
Karma: 23983815
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
In the German-English.opf file, he defined both input and output languages as English: Code:
<DictionaryInLanguage>en-us</DictionaryInLanguage> <DictionaryOutLanguage>en-us</DictionaryOutLanguage> However, since his dictionaries were GPL 2 licensed, you can fix his mistake: 1. Unpack the .mobi file and change the languages in the German-English.opf file as follows: Code:
<DictionaryInLanguage>de</DictionaryInLanguage> <DictionaryOutLanguage>en</DictionaryOutLanguage> (You can edit the .opf file directly or simply double-click the .opf file and change the languages in the Book Settings dialog box.) Last edited by Doitsu; 10-24-2011 at 05:35 AM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Jul 2010
Location: Usa
Device: magflalmVE
|
That worked perfectly! Thanks a lot!
|
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Dec 2011
Device: kindle 4 :(
|
how to compile an OPF file and HTML file into a MOBI file
HI, i downloaded a dictionary and unpacked it using 7zip, corrected the .OPF file so that the dictionary is set to polish, not english, but I can't find how to re-compile file as an MOBI. I cant see any option in Mobipocketcreator, just to create a new one (but i can't add original OPF file - it creates a new one)
is there an easy way to recompile the 2 files back to a MOBI file? Thanks in advance |
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,680
Karma: 23983815
Join Date: Dec 2010
Device: Kindle PW2
|
Select Book settings from the View menu, enable the This eBook is a dictionary option and select the correct dictionary input and output languages.
If you don't see these options you'll need to download the Publisher Edition of Mobipocket Creator. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Dec 2011
Device: kindle 4 :(
|
just in case you know, will the Kindle 4 automatically recognise the file automaticall as a dictionary when I'm reading polish resources (news meagaines for example)
and is there any way of making a .mobi instead of a .prc? thanks sorry for the (probably) elementary quesions ![]() |
![]() |
![]() |
![]() |
#7 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,354
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
![]() |
![]() |
![]() |
#8 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Dec 2011
Device: kindle 4 :(
|
7zip wont open that (even if i rename it to a .mobi) so does that mean they're not the same?
|
![]() |
![]() |
![]() |
#9 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,354
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
7zip won't open a mobi binary anyway (only the source portion of a mobi generated by kindlegen can be "unzipped"). A mobi (.mobi, .prc, .azw) is a binary file that must be decompiled/unpacked... not unzipped.
|
![]() |
![]() |
![]() |
#10 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,680
Karma: 23983815
Join Date: Dec 2010
Device: Kindle PW2
|
If both the language code of the Polish files and the dictionary input language is set to Polish, the Kindle should automatically select the Polish dictionary. However, some Kindle 4 users reported dictionary selection problems that might require you to set the Polish dictionary as the default dictionary.
|
![]() |
![]() |
![]() |
#11 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Dec 2011
Device: kindle 4 :(
|
there soesnt seem to be the same "set default dictionary" like there was on the kindle 3 - i used this on my mums, but on my kindle 4 the option just isnt there
![]() |
![]() |
![]() |
![]() |
#12 |
Connoisseur
![]() Posts: 57
Karma: 12
Join Date: Jan 2011
Device: Kindle
|
Hello,
I set German-English to Primary Dictionary, but the Oxford version still pops up. I tried to change the input language to German, but I don't know how to do this. I installed the Mobiunpack plug in for Calibre, but that doesn't help me much. Is it possible for someone to upload the modified German-English dictionary with the correct input language? I downloaded the dictionary today and the same bug exists that people were complaining about a year ago. Thanks! P.S. I have a Kindle keyboard |
![]() |
![]() |
![]() |
#13 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,680
Karma: 23983815
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
(You can check and modify the language codes of ebooks and dictionaries with the Java Mobipocket Metadata Editor.) Quote:
|
||
![]() |
![]() |
![]() |
#14 |
Connoisseur
![]() Posts: 57
Karma: 12
Join Date: Jan 2011
Device: Kindle
|
|
![]() |
![]() |
![]() |
#15 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79
Karma: 498122
Join Date: May 2010
Location: Europe
Device: Bookeen Cybook Gen3, Kindle 3, Kindle PW, Kindle Voyage
|
Quote:
apologies for my noob-question: how do I recompile this? Do I select the HTML option in mobi-creator and then the html file? Will creator recognize the opf file then? Any light on this would be cool, thanks! Update: never mind my Q please, I did realize the double-click bit too late. Thanks! Last edited by miquele; 11-25-2012 at 12:05 PM. Reason: Update |
|
![]() |
![]() |
![]() |
Tags |
dictionary, kindle |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Change News Language | dudesweet | Recipes | 4 | 09-27-2011 04:12 PM |
Touch How to render txt and mobi in other language correctly? | xuyn2003 | Kobo Reader | 3 | 07-17-2011 06:38 AM |
Calibre Viewer Dictionary Change Language | Welderman | Introduce Yourself | 8 | 01-12-2011 05:09 AM |
Dictionary lookup in iBooks 1.1: "Dictionary not available for this language" | kjk | Apple Devices | 71 | 09-18-2010 06:24 AM |
How Do I Change the Language? | PBee | Bookeen | 8 | 03-13-2009 04:56 AM |