Comments (7)
It is fixed on jsontt v2.2.3
.
jsontt ./locales/en.json --module google2 --from en --to ar fr es de it ru --fallback yes --concurrencylimit 10 --name ""
will set the name to an empty string, which will not add any suffix.
from json-translator.
Hi @mostafakarim ,
Normally jsontt usage isn`t intended to be used on CI/CD. But that is a great use case and yes it has this kind of issue for this use case.
I am working on it and will publish a new version soon.
from json-translator.
Thank you so much for this quick fix ! 🙏
from json-translator.
@ParvinEyvazov I have this error when I try to update de module
code EJSONPARSE npm ERR! path /Users/.../package.json npm ERR! JSON.parse Expected double-quoted property name in JSON at position 211 (line 10 column 5) while parsing '{ npm ERR! JSON.parse "name": "nuxt-app", npm ERR! JSON.parse "private": tru' npm ERR! JSON.parse Failed to parse JSON data. npm ERR! JSON.parse Note: package.json must be actual JSON, not just JavaScript.
Edit: @ParvinEyvazov indeed, it was from me, sorry for the disturbing :(
from json-translator.
@mostafakarim Never saw it. There is some mess on the quotation symbols I guess. And I don't think this is something from jsontt.
from json-translator.
Works well thank you!
It would be cool to also allow '' so if used in the package.json script the syntax is cleaner, but for now it also works like this:
"scripts": {
"translate": "jsontt src/translations/en.json --module google2 --from en --to it --fallback yes --concurrencylimit 3 --name \"\""
},
from json-translator.
yw! @dvdcpp
This syntax is also works fine:
jsontt en.json --module google2 --from en --to ar fr --fallback yes --concurrencylimit 10 --name ''
from json-translator.
Related Issues (20)
- App not working when built from sources HOT 2
- Option for "--translator" does not work HOT 1
- How to rename for output file? HOT 13
- feature request : instead of -- replace with original language string HOT 3
- Rate Limiting HOT 2
- Hello, I need suggestions for this project HOT 1
- Has anyone actually be able to make this work? HOT 2
- TypeScript support
- .JSONL files translating
- Problem with json HOT 1
- feature request: GUI for i18n keys manager
- error while translating "Best Sellers" using google. Assigned "--" instead of exit from cli. HOT 5
- Error when translating into Mongolian (mn).
- Calls
- Is there a way to set the translation module when using the package like with the CLI HOT 1
- Feature Request: Skip Empty Strings in Translation to Avoid Unnecessary Errors HOT 1
- Cannot translate anymore HOT 1
- feature request: skip already translated keys HOT 4
- How to set api key using CLI on Windows ? HOT 1
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 json-translator.