microsofttranslator / local-feature-android Goto Github PK
View Code? Open in Web Editor NEWAdd online and offline text translation to Android apps
Add online and offline text translation to Android apps
I see this is one of the translation packages that allows for offline translation. I'm trying to look into the difficulty of offline web page translation, and wanted to hear your thoughts. Currently all web page translation in browsers require 1) internet access, and 2) sending the web page data into the cloud. I'm trying to get some leads on the best way to implement offline web page translation.
Thanks.
Found on StackOverflow
int result = Translator.start(mContext, new Translator.ServiceListener() {
.....
}
it return ERROR_APP_MISSING_SIGNATURE = 51; in kitkat, but its work fine in marshmallow and later android api versions
Workaround for now:
change the check in checkAppSignature()
method of TranslatorImpl.java
to:
if (packageInfo == null || packageInfo.signatures == null || packageInfo.signatures.length == 0) {
I have generated my API key at azure portal, but when why i use this in sample project upon binding the service it gives me log Binding result =50
-2
Api version: -2
Can you please explain it to me whats wrong
Hello,
You have forget to put com.microsoft.translator.service.app.ITranslatorApi interface file in /translatorlocal/src/main/java/com/microsoft/translator/service/app/ directory.
Best Regards
I used wrong API key "ddshfidhioghdsh80eothgiohgo" still it is working , Also why it is not working with the microsoft translate app installed. I want to develop my own translate app using microsoft api and users not having Microsoft translate app installed
This library can work offline (if you download dictionaries to your sdcard), but it still wants API key if internet is enabled
So it works fine if internet is disabled (no need even to set normal key, just random string)
To translate from or to Vietnamese, use language code "vi" as tyhe "from" or the "to" language in the Translator API.
Originally posted by @chriswendt1 in #8 (comment)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.