Provider, credentials, text, and optional prior source context.
OptionalgcpServiceAccountJson?: stringOptionalopenRouterApiKey?: stringOptionalgroqApiKey?: stringOptionalopenRouterTranslateModel?: stringChat model id for OpenRouter or Groq translate.
OptionalrecentSourceContext?: stringPrior source finals for chat MT disambiguation (ignored by GCP NMT). Prefer several short recent lines over a long dump.
Optionalsignal?: AbortSignalTranslated text.
Translates live caption text for a listen language using the owner-selected provider only. Does not fall back across providers when credentials are missing. Applies sermon source clarification for all providers, then a Mandarin/Cantonese safety repair when “sin against” is still rendered as fight/defy.