moved to https://github.com/doc-l10n-kit/doc-l10n-kit
quarkus-adoc-po-translator is an utility to translate .adoc.po files extracted from quarkus documentations asciidoctor files by po4a.
This project uses Quarkus, the Supersonic Subatomic Java Framework. If you want to learn more about Quarkus, please visit its website: https://quarkus.io/ .
- JDK 11
- GraalVM (If you want to build a native image directly)
- Docker or Podman (If you want to build a native image in a container)
The application can be packaged using following command:
./gradlew quarkusBuild -Dquarkus.package.type=uber-jar
It produces the quarkus-adoc-po-translator-runner.jar
file in the build
directory.
place application.yml to <quarkus-adoc-po-translator working directory>/config/application.yml
translator:
deepL:
apiKey: <put your api key here>
language:
source: en # default source language
destination: ja # default destination language
uber-jar
java -jar quarkus-adoc-po-translator.jar [<path to source po file>...] \
[--srcLang <source language>] [--dstLang <destination language>]