i18n-json-to-xlsx-converter icon indicating copy to clipboard operation
i18n-json-to-xlsx-converter copied to clipboard

Empty cells rule

Open picks44 opened this issue 2 years ago • 1 comments

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?

picks44 avatar Nov 24 '21 13:11 picks44