Méthode | 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 ( |
Méthode | 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 | |
Résultat | List |
public MtTranslationProviderGTApiConnecter ( String key ) : System | ||
key | String | |
Résultat | System |
public Translate ( LanguagePair langPair, String text ) : String | ||
langPair | LanguagePair | |
text | String | |
Résultat | String |
public Translate ( LanguagePair langPair, String text, String format ) : String | ||
langPair | LanguagePair | |
text | String | |
format | String | |
Résultat | String |
public isSupportedLangPair ( |
||
sourceCulture | ||
targetCulture | ||
Résultat | bool |