http://api.microsofttranslator.com/V2
AddTranslation Element
Collapse All
Expand All
http://api.microsofttranslator.com/V2
: AddTranslation Element
Namespace
http://api.microsofttranslator.com/V2
Diagram
Overview
AddTranslation
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.
Source
See Also
http://api.microsofttranslator.com/V2
© 2013 All Rights Reserved.
Send comments
on this topic.