Vue i18n Extract in Typescript and new Repo
See original GitHub issueHi Pixari!
As I’m sure you know I’ve been keenly interested in this project and have been working on it for the past few days. I wanted to inform you that I have modified the tool for my purposes past the point of making a pull request.
https://github.com/Spittal/vue-i18n-extract
Some changes I’ve made include:
- It’s all Typescript now 🎉
- For making publishing easier and to aid with Typescript I’ve added in PikaPkg
- I’ve modified the CLI interface to allow for multiple commands, and added a help command.
- I’ve rewritten the way files are read and parsed to make them more consistent with one another. For example the function that reads the Vue files and the Language files will both spit out a normalized data format.
- Using the new normalized data format, I’ve rewritten the diffing function. It is now 5 lines of code and no longer needs
deep-diff - Re-organized the whole folder structure for easier maintenance and extension in the future.
- Many other things!
This is obviously an enormous change to your project which is why I have put it into it’s own repo. But, I’d love to see if maybe you’re interested in combining our efforts into one repo. Or, if you think my new repo is too different I’d be happy to maintain it on my own.
Let me know what you think! Spittal
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
vue-i18n-extract - npm
vue -i18n-extract. TypeScript icon, indicating that this package has built-in type declarations. 2.0.7 • Public • Published 7 months ago.
Read more >Spittal/vue-i18n-extract - GitHub
vue -i18n-extract is built to work with your Vue.js projects using the library vue-i18n. It runs static analysis on your Vue.js source code...
Read more >vue-i18n-extract | Yarn - Package Manager
vue -i18n-extract is built to work with your Vue.js projects using the library vue-i18n. It runs static analysis on your Vue.js source code...
Read more >Manage vue-i18n localization with static analysis
vue -i18n-extract is built to work with your Vue. js projects using vue-i18n. When run vue-18n-extract analyses your Vue.
Read more >The Ultimate Vue Localization Guide | Phrase
We added router support and opted out of TypeScript when the project was being ... Let's construct the Vue I18n instance in a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I’d be very interested in that!
Okay great, I’ll push it as a branch at first, I will make sure the README is correct and that the tests are back in full worker order. We can review from there.
Thanks!