View Single Post
Old 07-21-2021, 05:49 AM   #1
LucyOne
Librocubicularist
LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.
 
LucyOne's Avatar
 
Posts: 617
Karma: 11908623
Join Date: Dec 2013
Location: Germany
Device: PocketBook InkPad 3 & Touch HD 3, Kobo Clara HD, Kindle Paperwhite 5
How to change wrong xml:lang in multiple files?

I have books in English and German in my library. When I add a new book, I download the metadata, do an EPUB to EPUB conversion and then polish it. I don't know when this error occured, but suddenly all my German books have the wrong language tag embedded in the title page file.

When I open an EPUB in German with the editor, the titlepage shows this line:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">.

Is there a way to change this to xml:lang="de" in all affected EPUB files at once?
LucyOne is offline   Reply With Quote