Method | Description | |
---|---|---|
GetSourceLangsList ( string targetLang ) : List |
||
MtTranslationProviderGTApiConnecter ( String key ) : System | ||
Translate ( LanguagePair langPair, String text ) : String |
Used to translate plain text only.
|
|
Translate ( LanguagePair langPair, String text, String format ) : String |
Used to translate as html to allow for tag markup
|
|
isSupportedLangPair ( |
Method | Description | |
---|---|---|
DoTranslate ( LanguagePair langPair, String text, String format ) : String | ||
EncodeSpecialChars ( string strInput ) : string | ||
GetExceptionReason ( |
||
GetLanguageCode ( |
||
GtRemoveBoms ( string input ) : string | ||
ParseLanguageDetect ( string input ) : string |
need to handle this differently from translate b/c the json is formed differently
|
|
UpdateSupportedLangs ( string target ) : void | ||
parseReturnedError ( string input ) : string | ||
parseReturnedResults ( string input, string findKey ) : List |
public GetSourceLangsList ( string targetLang ) : List |
||
targetLang | string | |
return | List |
public MtTranslationProviderGTApiConnecter ( String key ) : System | ||
key | String | |
return | System |
public Translate ( LanguagePair langPair, String text ) : String | ||
langPair | LanguagePair | |
text | String | |
return | String |
public Translate ( LanguagePair langPair, String text, String format ) : String | ||
langPair | LanguagePair | |
text | String | |
format | String | |
return | String |
public isSupportedLangPair ( |
||
sourceCulture | ||
targetCulture | ||
return | bool |