Closed noelmugnier closed 3 years ago
Is there any particular reason why you're using the createJs function and not the xliff2js function https://github.com/locize/xliff/blob/master/test/test.js#L211 ?
rest lgtm
Is there any particular reason why you're using the createJs function and not the xliff2js function https://github.com/locize/xliff/blob/master/test/test.js#L211 ?
Mainly because i don't start from xliff file, i'm building a svelte components parser which extract id|content|note from html tags. Then depending of user format i use createxliff12 or createjs to get a .xlf or .json file
Thank you for your contribution. It's included in v5.7.0
I've exposed the notesKeys (ntKeys) param to createjs function because i didn't figure out how to generate a js with notes without it :)
Checklist
npm run test