giovanni-bertoncelli / json-translator Goto Github PK
View Code? Open in Web Editor NEWTranslate your JSON file with this tool!
License: GNU Affero General Public License v3.0
Translate your JSON file with this tool!
License: GNU Affero General Public License v3.0
source json files here:
https://github.com/KnowageLabs/Knowage-Server/tree/master/knowage-vue/src/i18n/en_US/messages.json
pls help me to solve this
✔ Initialized!
⠧ Translating value #2/2159...Not Found: Unable to automatically detect the source language, confidence too low
at RequestWrapper.formatError (/root/json-translator/node_modules/ibm-cloud-sdk-core/lib/request-wrapper.js:290:21)
at /root/json-translator/node_modules/ibm-cloud-sdk-core/lib/request-wrapper.js:275:45
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async TranslatorInCloud.translate (/root/json-translator/node_modules/@giovanni-bertoncelli/json-translator/utils/cloud.js:30:26)
at async /root/json-translator/node_modules/@giovanni-bertoncelli/json-translator/index.js:30:26
at async forInNestedRec (/root/json-translator/node_modules/@giovanni-bertoncelli/json-translator/utils/trees.js:21:9)
at async forInNestedRec (/root/json-translator/node_modules/@giovanni-bertoncelli/json-translator/utils/trees.js:17:7)
at async JsonTranslator.run (/root/json-translator/node_modules/@giovanni-bertoncelli/json-translator/index.js:23:5)
at async main (/root/json-translator/node_modules/@giovanni-bertoncelli/json-translator/cli.js:31:3) {
statusText: 'Not Found',
status: 404,
code: 404,
body: '{"code":404,"error":"Unable to automatically detect the source language, confidence too low"}',
headers: {
'content-length': '104',
'content-type': 'application/json; charset=UTF-8',
'x-xss-protection': '1; mode=block',
'x-content-type-options': 'nosniff',
'content-security-policy': "default-src 'none'",
'cache-control': 'no-cache, no-store',
pragma: 'no-cache',
'content-language': 'en-US',
'strict-transport-security': 'max-age=31536000; includeSubDomains;',
'x-dp-watson-tran-id': 'c80cc328-a8f2-4a74-bfd0-390677f0b2ef',
'x-request-id': 'c80cc328-a8f2-4a74-bfd0-390677f0b2ef',
'x-global-transaction-id': 'c80cc328-a8f2-4a74-bfd0-390677f0b2ef',
server: 'watson-gateway',
'x-edgeconnect-midmile-rtt': '16',
'x-edgeconnect-origin-mex-latency': '98',
date: 'Sun, 19 Jun 2022 03:41:58 GMT',
connection: 'close'
}
}
how can change path and name of /root/json-translator/output.json?
https://www.ibm.com/demos/live/watson-language-translator/self-service/home
json with 2159 lines translate in 32 sec, but in same time with your app only translate 97 lines
how can enhance velocity for this matter?
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.