GithubHelp home page GithubHelp logo

ofcyln / i18n-json-to-xlsx-converter Goto Github PK

View Code? Open in Web Editor NEW
41.0 2.0 11.0 1.37 MB

i18n JSON to XLSX Converter is a CLI tool runs in a terminal, and helps you to convert a JSON file(s) to EXCEL sheet(s) including keys column defined as nested with dot notation, and the values column for those keys. Also, the CLI tool converts an EXCEL sheet to JSON file(s) by considering its values columns as individual files.

Home Page: https://www.npmjs.com/package/i18n-json-to-xlsx-converter

License: MIT License

TypeScript 69.09% JavaScript 30.91%
translation i18n file-conversion file-converter cli-app cli json xlsx excel nested-objects

i18n-json-to-xlsx-converter's Introduction

Hi there, I'm Osman ๐Ÿ‘‹

๐ŸŒŒ About Me

  • I am a highly motivated and experienced Front-End Developer with over ten years of expertise in web and mobile application development. My passion lies in creating websites and mobile apps that grab people's attention and engage users. I have a strong desire for continuous learning, allowing me to quickly adapt to new technologies and deliver exceptional user experiences. In the fast-paced world of digital technology, I stay updated with the latest trends and changes, ensuring that my work remains current and relevant. I am dedicated to writing clear and efficient code, which not only enhances my own productivity but also enables seamless collaboration within diverse teams.

๐ŸŒŸ Notable Projects

:octocat: Websites

๐Ÿ”ง Skills

Skills

i18n-json-to-xlsx-converter's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

i18n-json-to-xlsx-converter's Issues

multiple json to single excel

You have a great feature to take a single excel and create multiple json lang files. I'd like the reverse. If I supply a list of multiple json files they should all be exported to a single excel with a column for each language. As opposed to producing a single excel for each json file. perhaps add a second flag for this behaviour to allow either or functionality would be great.

Wishes

  1. I would like to manage file reading settings. Example readXLSXFile(filePath, { trim: false }), because by default trim is true.
  2. I would like to generally use the flag either to use or not the library unflatten. Me not need this: unflatten(allLanguages[languageTitle], { object: true }).

Thanks

Empty cells rule

Hello,

Thanks a million for this wonderful tool. I've been looking for this for years, and it is so time-saving...

Just one enhancement that would be appreciated: if we add a new translation key in the Excel file, then all columns (except English for instance) are empty (until they get translated by agencies).
When converting to JSON, then the key value is set to null.
This strategy is preventing our app fallback strategy from working, meaning that if I switch my app to FR for instance, then the value displayed is also "null".

Could you add an option to the command in order to remove the key woth empty values from the JSON? This would allow the fallback strategy to work properly. Make it an option in case other projects needs to have the null value :)

What do you think?

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.