Uses the Bing API service to perform translation Bing can translate up to 1000 characters.
Requires that you provide a CLientId and ClientSecret or set the configuration values for these two.
More info on setup: http://weblog.west-wind.com/posts/2013/Jun/06/Setting-up-and-using-Bing-Translate-API-Service-for-Machine-Translation
public string TranslateBing(string text, string fromCulture, string toCulture, string accessToken)
Parameters
text
Text to translate
fromCulture
Two letter culture name
toCulture
Two letter culture name
accessToken
Pass an access token retrieved with GetBingAuthToken.
If not passed the default keys from .config file are used if any
See also:
Class TranslationServices© West Wind Technologies, 2006 - 2019 • Updated: 01/24/18
Comment or report problem with topic