diff --git a/jigasi/rootfs/defaults/transcriber-sip-communicator.properties b/jigasi/rootfs/defaults/transcriber-sip-communicator.properties index 6860b15..a2a339d 100644 --- a/jigasi/rootfs/defaults/transcriber-sip-communicator.properties +++ b/jigasi/rootfs/defaults/transcriber-sip-communicator.properties @@ -27,6 +27,12 @@ org.jitsi.jigasi.transcription.RECORD_AUDIO_FORMAT=wav {{ if .Env.JIGASI_TRANSCRIBER_CUSTOM_SERVICE -}} org.jitsi.jigasi.transcription.customService={{ .Env.JIGASI_TRANSCRIBER_CUSTOM_SERVICE }} {{ end -}} +{{ if .Env.JIGASI_TRANSCRIBER_CUSTOM_TRANSLATION_SERVICE -}} +org.jitsi.jigasi.transcription.translationService={{ .Env.JIGASI_TRANSCRIBER_CUSTOM_TRANSLATION_SERVICE }} +{{ end -}} +{{ if .Env.JIGASI_TRANSCRIBER_LIBRETRANSLATE_URL -}} +org.jitsi.jigasi.transcription.libreTranslate.api_url={{ .Env.JIGASI_TRANSCRIBER_LIBRETRANSLATE_URL }} +{{ end -}} {{ if $JIGASI_TRANSCRIBER_FILTER_SILENCE -}} org.jitsi.jigasi.transcription.FILTER_SILENCE = true {{ end -}} diff --git a/transcriber.yml b/transcriber.yml index eb6efeb..58ff6a3 100644 --- a/transcriber.yml +++ b/transcriber.yml @@ -38,6 +38,8 @@ services: - JIGASI_BREWERY_MUC - JIGASI_TRANSCRIBER_ADVERTISE_URL - JIGASI_TRANSCRIBER_CUSTOM_SERVICE + - JIGASI_TRANSCRIBER_CUSTOM_TRANSLATION_SERVICE + - JIGASI_TRANSCRIBER_LIBRETRANSLATE_URL - JIGASI_TRANSCRIBER_ENABLE_SAVING - JIGASI_TRANSCRIBER_FILTER_SILENCE - JIGASI_TRANSCRIBER_OCI_COMPARTMENT