Interface IImmediateTranslationOperation


public interface IImmediateTranslationOperation
Translate a text immediately (using AI)
Author:
I-D Media AG
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable String
    translateText(@NotNull String sText, @NotNull String sSourceLanguage, @NotNull String sTargetLanguage, @NotNull String sProjectId)
    Translate a given text
    @Nullable String
    translateXml(@NotNull String sText, @NotNull String sSourceLanguage, @NotNull String sTargetLanguage, @NotNull String sProjectId)
    Translate a given DOM/XML
  • Method Details

    • translateText

      @Nullable @Nullable String translateText(@NotNull @NotNull String sText, @NotNull @NotNull String sSourceLanguage, @NotNull @NotNull String sTargetLanguage, @NotNull @NotNull String sProjectId)
      Translate a given text
      Parameters:
      sText -
      sSourceLanguage -
      sTargetLanguage -
      sProjectId -
      Returns:
      Translation or null on error
    • translateXml

      @Nullable @Nullable String translateXml(@NotNull @NotNull String sText, @NotNull @NotNull String sSourceLanguage, @NotNull @NotNull String sTargetLanguage, @NotNull @NotNull String sProjectId)
      Translate a given DOM/XML
      Parameters:
      sText -
      sSourceLanguage -
      sTargetLanguage -
      sProjectId -
      Returns:
      Translation or null on error