-
-
Notifications
You must be signed in to change notification settings - Fork 37
IBM Watson Language Translator
Eliran Wong edited this page Feb 19, 2021
·
11 revisions
To enable IBM-Watson Language Trans:
- Register an IBM CLoud account (there are several types, the Lite one is FREE) You can find a registration link at https://www.ibm.com/cloud/watson-language-translator/pricing
- After registration, go to login page https://cloud.ibm.com/login to login into your IBM cloud account.
- Go to Menu > Resource list > Service > Language Translator
- Copy the "API key" and "URL"
- You are about to edit UBA file config.py, so make sure you are not running UBA while editing this file. Close UBA first if it is running.
- Use a simple text editor to open config.py
- Paste your apikey to INSIDE the pair of quotation marks of myIBMWatsonApikey = ''
- Paste your URL to INSIDE the pair of quotation marks of myIBMWatsonUrl = ''
- Save the file config.py
- Start UBA
- To test, run a command on main window command field, TRANSLATE:::en-zh:::testing
- Or, select a word from a bible chapter, right click and select "Translate into my language"
- Config flag, 'autoCopyTranslateResult' is turned on for you by default. Therefore after a translation is done, you can paste the result whereever you like.