How to show origin text together when translating

As description as title, I want to show origin text not only translated words, How to config it or need modify code?

I have changed some code in GoogleCloudTranscriptionService.java that it could now detect multiple language, such as japanese, chinese, english, Use google beta api: https://cloud.google.com/speech-to-text/docs/multiple-languages#speech-multi-lang-java.

Best regards!

I think there is no such feature at the moment. You need to transfer the original text in the json sent and the handle it in jitsi-meet.

Okay, I’ll try it out, thanks!

The easiest way is modify file “src/main/java/org/jitsi/jigasi/transcription/GoogleCloudTranslationService.java”, replace “return translation.getTranslatedText();” with “return sourceText + "    " + translation.getTranslatedText();”