AboutSupportDeveloper GuideVersion 45.150.100.111
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.