Comments (3)
Alright I got this after I found this document: http://docs.microsofttranslator.com/text-translate.html
clientSecret and clientID are both used to retrieve access tokens. However if you started from this welcome page, you will be prompted to create an Azure Cognitive Services APIs (preview) account and that eventually leads you to Azure Portal, where you don't use clientSecret/clientID but subscription key instead. This article tells you how you get access token with subscription key (either KEY 1 or KEY 2).
In this sense, I feel this demo tool is kind of outdated. I will see if I can manage to make a PR to fix this.
from documenttranslator-legacy.
And categoryID is related to a custom model used in https://hub.microsofttranslator.com. It is optional. I figured that out.
from documenttranslator-legacy.
Sorry for being late. Document Translator is now ready to work with an Azure subscription, taking the Key form your resource as authentication. The newest binaries and the branch AzureAuth2 contain the version working with an Azure subscription.
from documenttranslator-legacy.
Related Issues (20)
- Document Translator - Footnotes in Word document not translated HOT 1
- "key invalid" if incorrect regions are selected although the key is actually valid. HOT 2
- Document translator - NAVIGATION FAILED (error message)
- Document Translator - Error message: RPC server unavailable
- Document Translator - Error message: Invalid Hyperlink
- Warning on invalid Category ID
- Cannot translate an HTML file without <body>
- F-DROID Possible? HOT 5
- Why did I fail to finish the code build? HOT 4
- System incompatibility since 2.1.1 HOT 1
- Translate HOT 1
- Issue in PDF translation HOT 3
- Can any other cloud service provider be used for translation part HOT 1
- The language list not fully loaded in From/to Language dropdown HOT 2
- Set series colors in column charts HOT 1
- Document Translator V2.9.2 throwing error with Category ID
- SRT/VTT translation returns error HOT 1
- Error running under Windows 7 HOT 1
- X-WMF TO PNG HOT 1
- failed to translate html file with MS document translator HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from documenttranslator-legacy.