GithubHelp home page GithubHelp logo

Comments (7)

roddeh avatar roddeh commented on September 1, 2024

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.

marverix avatar marverix commented on September 1, 2024

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.

moodyjmz avatar moodyjmz commented on September 1, 2024

Have you considered supporting gettext PO files?

I like the idea of a tool to detect missing trans.

from i18njs.

roddeh avatar roddeh commented on September 1, 2024

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.

marverix avatar marverix commented on September 1, 2024

Hey, not yet... I'm pretty busy nowadays... :(

from i18njs.

vitormv avatar vitormv commented on September 1, 2024

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.

marverix avatar marverix commented on September 1, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.