How to change "language" tags in an azw3 file

Started by calberga, February 28, 2023, 04:49:11 PM

Previous topic - Next topic

calberga

I have an e-book which is having a problem on my Kindle PW.  I have set the "on call" dictionary to the Oxford English.  When I select a word and try to open the dictionary I get a message the I do not have a dictionary in that language.

Going to Calibre I find the metadata language is shown as English.  If I edit the book the metadata shows as en.

However, if I use exiftool to examine the metadata.opf I file to language tags, one "en" and on "ar".  And, when I use exiftool on the azw3 file on the Kindle, it shows the language tag as "ar".

How do I fix this?  exiftool, while it will display the tags from the azw3, will NOT write them.

StarGeek

If you look at the Supported File Types table, you will see that exiftool cannot write to ebooks such as epub and azw3, only read their metadata.

Calibre is probably your best bet for editing ebook metadata.  If you're looking for a command line solution, Calibre also includes several command line programs for dealing with ebooks.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

calberga

Things are now fine.  A bit of blather below, giving the facts, but not an explanation.

I am aware for the limitations on EXITtool, as I stated in my last line.  The problem is that I haven't found a way to modify the "language" setting inside the .AZW3 file.  Further, when I view the tags on the AZW3 file in the Calibre library the Language is en, the value in the .opf file, which is what I can edit, is eng (or on some books en-US), which don't match that in either AZW3 file in Calibre (en), in the .opf file (eng), or on the Kindle (ar).

However: the act of uninstalling the book from the Kindle, and then reinstalling fixed things, for reasons unknown (to me, at least).  The Language show for the AZW3 on the Kindle now shows (en).