Comments (7)
This is an idea that I really like. I have often thought about something similar though I have never had time to execute on it.
At one point I thought about using a google docs spreadsheet as the UI and developing scripts that can import and export the data to the JSON format. Though I think it may get messy for managing pluralisation cases.
That said, a grid-like interface with the translation keys on y-axis and languages across the x-axis is what I had always imagined.
I am guessing one of the challenges you have is to identify when translations are missing for certain languages.
Maybe a first version of the tool would simply be a command line tool that scanned the language files and called out missing translations?
from i18njs.
I was thinking about learning Electron.js (https://electronjs.org/) by writing this. I wanted to start from something simple - opening one JSON file, and just allowing to edit it (with support for pluralism etc). Then next would be to creating project. Project would be stored in user home directory and will contain informations where are JSON files with translations for particular project. This way I could see in table columns like: Key, Language A, Language B, Language C, etc. This way writing simple method that will show you which rows are not completed will be easy.
from i18njs.
Have you considered supporting gettext PO files?
I like the idea of a tool to detect missing trans.
from i18njs.
The PO question has been asked a few times. I would be supportive of a plugin to support PO files but I am reluctant to build support into the core.
I think the tool idea is great. And the kind of approach being discussed would definitely work. @marverix, did you take the idea any further?
from i18njs.
Hey, not yet... I'm pretty busy nowadays... :(
from i18njs.
is there any tool out there that has support for exporting i18njs files out of the box? The JSON format is so straightforward, i cant believe there is no one out there that supports this :)
from i18njs.
@roddeh I wrote the Python implementation of your library: https://github.com/marverix/i18npy
I want to use it as a base for the i18n Tool, which is a topic of this issue. I'm planning to use this opportunity to learn Qt for Python and try to write a cross-platform tool that could help with i18n JSON files.
from i18njs.
Related Issues (20)
- AMD compliant version of i18n.js does not work on IE8 HOT 4
- i18njs as NPM package HOT 3
- License unclear HOT 1
- [Idea] Support for num eq null HOT 2
- [Idea] Publish as npm package HOT 1
- [Idea] Release in GitHub
- Pluralization rules HOT 5
- Typescript definitions file HOT 20
- [Idea] Move Tests to Mocha + Chai HOT 5
- [Idea] Linter HOT 1
- [Idea] CI with Travis HOT 2
- The file on i18njs.com is not latest version
- Contexts not working? HOT 3
- What about object notation? HOT 1
- [Idea][Standardization] JSON Schema HOT 1
- Lots of eslint errors (+140) HOT 1
- Package in NPM is outdated (missing TS typings) HOT 3
- No maintaince
- Method extend does not exist on return value of i18n.create
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 i18njs.