Skip to content
This repository has been archived by the owner on Jun 20, 2020. It is now read-only.

Latest commit

 

History

History
36 lines (25 loc) · 957 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 957 Bytes

epub-translator

Actions Status

epub-translator is an utility to translate epub books.

  • Utilize DeepL API (You need to register DeepL API plan)
  • Leave the original text for reference, and insert the translated text below per paragraph

Build

./gradlew bootJar

Configuration

place application.yml to <epub-translator working directory>/config/application.yml

application.yml

ePubTranslator:
  deepL:
    apiKey: <put your api key here>
  language:
    source: en        # default source language
    destination: ja   # default destination language

Execution

java -jar epub-translator.jar --src <path to source epub file> [--dst <path to destination epub file>] \
[--srcLang <source language>] [--dstLang <destination language>]