Bing Translator Web Service
Bing Translator Web Service / All Operations Resource Group / /V2/Soap.svc/AddTranslation (Method)
In This Topic
    Method/V2/Soap.svc/AddTranslation
    In This Topic
    Description
    Adds a translation to the translation memory.
    Request (LanguageService_AddTranslation_InputMessage)

    The request body is of type AddTranslation.

    Request Body Parameters

    NameDescriptionData Type
     xml:string
     xml:string
     xml:string
     xml:string
     xml:string
     xml:int
     xml:string
     xml:string
     xml:string
     xml:string
    uri Element user Element category Element contentType Element rating Element to Element from Element translatedText Element originalText Element appId Element Sequence AddTranslation Element

    Overview

    Sequence
    appId optional xs:string
    A string containing "Bearer" + " " + access token.
    originalText optional xs:string
    A string containing the text to translate from. The string has a maximum length of 1000 characters.
    translatedText optional xs:string
    A string containing translated text in the target language. The string has a maximum length of 2000 characters.
    from optional xs:string
    A string containing the language code of the source language. Must be a valid culture name.
    to optional xs:string
    A string containing the language code of the target language. Must be a valid culture name.
    rating optional xs:int
    An int representing the quality rating for this string. Value between -10 and 10. Defaults to 1.
    contentType optional xs:string
    The format of the text being translated. The supported formats are "text/plain" and "text/html". Any HTML needs to be well-formed.
    category optional xs:string
    A string containing the category (domain) of the translation. Defaults to "general".
    user optional xs:string
    A string used to track the originator of the submission.
    uri optional xs:string
    A string containing the content location of this translation.
    Response (LanguageService_AddTranslation_OutputMessage)

    The response body is of type AddTranslationResponse.

    Sequence AddTranslationResponse Element

    Overview

    Sequence
    See Also