microsoft-translator-java-api
microsoft-translator-java-api copied to clipboard
Doesn't Support new Azure Framework
Just got an email from Microsoft telling me that from 30th April 2017, the translation service is moving to the Azure framework and will no longer be available.
Can the library be updated to support this?
"Microsoft Translator Text and Speech Translation APIs are now available in the Azure portal under the Cognitive Services category. Existing applications using Microsoft Translator need to be changed before April 30, 2017."
Microsoft put an example (C#) to get the AzureToken here https://github.com/MicrosoftTranslator/GetAzureToken
Is there a plan to update the microsoft-translator-java-api to support Azure?
likewise would be happy if support for the upcoming new version was added. Any plans? Thanks
I'v update an version for new Azure framework (Use SubscriptionKey instead of ClientId & ClientSecret) https://github.com/firemaples/microsoft-translator-java-api
But you need to download and build the jar file by yourself
You can found SubscriptionKey on Azure portal (https://portal.azure.com/)
@firemaples how to download and build the jar file myself? Appreciate if you could provide a tutorial or link to tutorial.
@zfc0812 There is a ready jar file you can just download (https://github.com/firemaples/microsoft-translator-java-api) , or you can build it by yourself:
Download the project and run the command in the lib folder
gradle fatJar
After the command running finished, yur will found the output jar file in the path:
lib/build/libs/lib-with-dependencies.jar
@firemaples Can you put this up on Maven Central? That would be really great!
@firemaples can you merge this fix in from @koenvw
https://github.com/boatmeme/microsoft-translator-java-api/pull/49/commits/67016ffb3e9d80a3a4096e563b6671671c641005
It fixes a known defect, if you cannot or don't want to I can create my own branch.
We use https://jitpack.io/ until this goes up on Maven Central. @firemaples Can you tag a new release?
@tholu I'll try, please wait me a while
@tholu I've uploaded the new version library into JCenter and Maven Center, you can just use
Gradle
dependencies {
compile 'io.github.firemaples:microsoft-translator-java-api:0.8.3'
}
Maven
<dependency>
<groupId>io.github.firemaples</groupId>
<artifactId>microsoft-translator-java-api</artifactId>
<version>0.8.3</version>
<type>pom</type>
</dependency>
@firemaples Thanks!