slyh / epub-translator

Translate EPUB files using large language models
MIT License
9 stars 1 forks source link

How to change the language of a translated file? #1

Open gcharycki opened 4 months ago

gcharycki commented 4 months ago

How to change the language of a translated file?

gcharycki commented 4 months ago

Ok, the problem has been fixed - I had to edit the config.js file.

However, it is still not working because I get a "'Copy as is (Unsupported format)'" response. The file is in EPUB format.

slyh commented 4 months ago

You need to manually unzip the ePub file. Since ePub files are essentially zip files, you can change the extension name to .zip and use your preferred tool to unzip them. When the translation is complete, zip the files again and change the extension name back to .epub.

gcharycki commented 3 months ago

Now it works perfectly, thank you.