AboutSupportDeveloper GuideVersion 46.151.100.42
PageTranslateOptions: {
    sourceLang: string;
    targetLang: string;
}

Options for OpenFin.WebContents.translatePage.

Type declaration

  • sourceLang: string

    BCP-47 language code of the source language, or empty string for auto-detect.

  • targetLang: string

    BCP-47 language code of the target language.