Comments (2)
Hey @mikgross, Thank you for your comment.
It looks like an interesting feature but for this scenario, all files have to be in the same language. And output names have to be adjusted by their origin name.
And another dilemma is if the user runs jsontt
for the entire folder, it will not be possible to run it again after completion. Because newly generated files will be in the same folder and when the user runs it again, it will process these generated ones too which will make confusion.
Of course, we can find a way to solve them, that could create a bad UX.
Do you have any great ideas to solve them?
from json-translator.
Hey @ParvinEyvazov, I get your points.
We could maybe think of creating an output folder at the same level as the root folder? Or create an output folder in the root folder directly, which will be ignored if reran for a different language.
Let's imagine we are in root/
and run jsontt .
and chose fr and es as an output (which could also be defined at the CLI level). The output could look like:
root/en.js
root/translation-es-fr/fr.js
root/translation-es-fr/es.js
OR
root/en.js
root/../root-jsontt-es-fr/fr.js
root/../root-jsontt-es-fr/es.js
Something like this....
from json-translator.
Related Issues (20)
- Tatar is not available HOT 3
- Set API Key HOT 2
- Only update new or empty fields. HOT 1
- 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
- Execute script without --name HOT 7
- 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
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.