Comments (3)
To communicate with Google Translate without an API KEY, you mainly need to generate the corresponding token, which may help you: GoogleToken.
Alternatively, the web version can be used directly to compare the translation results of individual sentences and sentences mixed with other words separately.
from androidlocalizeplugin.
Thanks for your feedback. This would have two problems.
1, the separator ";" may appear in the text being translated and it is impossible to assume what the user's text is.
2, For long sentences, this may lead to a reduction in the accuracy of the translated result. This is because there are many words blended together, affecting the judgment of the translation context.
Discussions are welcome.
from androidlocalizeplugin.
";" separator is just an example, maybe some other symbol would be better. Take a look on this 😄 :
https://translate.google.com/?sl=en&tl=pl&text=Easy%E2%98%BCMedium%E2%98%BCHard%E2%98%BCVery%20hard&op=translate
One could argue that the translation would be even better - bigger context, better translation. Google translates whole web pages this way. But that would have to be tested of course, either of us might be right.
At the very least this technique could be at least used to translate multiple single word strings.
I am planning to do some simple script in python to check this and share with you my results (for languages I know at least). Could you give me some hint on how to do this? I mean communication with google translate, not python-specific stuff. Or point me to some place where I can get needed info?
from androidlocalizeplugin.
Related Issues (20)
- What is "translation interval time"? HOT 4
- Add support for OpenAI GPT-3 HOT 6
- java.net.HttpRetryException: cannot retry due to redirection, in streaming mode HOT 1
- Feature request: Multi-thread HOT 3
- Feature Request: DeepL supports additional parameter in the request. HOT 4
- Always Connection timed out: connect HOT 4
- Bug: cannot have same key name for plurals and strings. HOT 1
- 翻译时间太长,是否可以多线程并发执行
- Looks like it is removing doc type entities from translated file. HOT 2
- Feature Request: DeepL supports Korean, but the plugin doesn't show Korean in the list. HOT 2
- 默认String为简体中文时无法翻译为繁体中文
- Larger strings.xml file failed to translate
- Translation failure HOT 1
- Different base folder HOT 2
- Linux X64运行在IDEA 2023.2.1 HOT 2
- Translation failure
- Minor language compatibility issues HOT 2
- How to modify shortcut keys It takes up my shortcut keys and makes me uncomfortable HOT 1
- The ability to customize prompts and models for the OpenAI API in translators
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 androidlocalizeplugin.