|
Smart Localization
2.3
|
Handles the connection with the Microsoft Translation API More...
Public Member Functions | |
| MicrosoftAutomaticTranslator () | |
| ctor More... | |
| void | Initialize (InitializeTranslatorEventHandler eventHandler, string clientID, string clientSecret) |
| Initializes the Automatic Translator | |
| void | GetAvailableTranslationLanguages (GetAvailableLanguagesEventHandler eventHandler) |
| Gets all the available languages that can be translated. | |
| void | TranslateText (TranslateTextEventHandler eventHandler, string key, string textToTranslate, string languageFrom, string languageTo) |
| Translate a single string | |
| void | TranslateTextArray (TranslateTextArrayEventHandler eventHandler, List< string > keys, List< string > textsToTranslate, string languageFrom, string languageTo) |
| Translate an array of texts to a specific language. Note: the event handler can be called multiple times if splitting of the array is necessary | |
Properties | |
| bool | IsInitialized [get] |
| bool | InitializationDidExpire [get] |
| bool | IsInitializing [get] |
Properties inherited from SmartLocalization.Editor.IAutomaticTranslator | |
| bool | IsInitializing [get] |
| Returns if the Automatic Translator is currently in the process of initializing More... | |
| bool | IsInitialized [get] |
| Returns if the Automatic Translator is initialized More... | |
| bool | InitializationDidExpire [get] |
| Returns if the Translator is not Initialized anymore due to an expiration of an access token More... | |
Handles the connection with the Microsoft Translation API
| SmartLocalization.Editor.MicrosoftAutomaticTranslator.MicrosoftAutomaticTranslator | ( | ) |
ctor