Method TryTranslate
TryTranslate(string, string, out string)
Translates a text given in the key language of the dictionary to another language.
Declaration
public bool TryTranslate(string keyLanguageText, string languageCode, out string translatedText)
Parameters
Type | Name | Description |
---|---|---|
string | keyLanguageText | Text in the key language of the dictionary. |
string | languageCode | Code of the language to which to translate. |
string | translatedText | When the method completes, this parameter holds the translated text. |
Returns
Type | Description |
---|---|
bool |
|