vue-cli-plugin-i18n
vue-cli-plugin-i18n copied to clipboard
Missing translation CI
The library is already warning on the console about missing translations.
This is great, but I would like to setup a check on GitLab CI.
Is it planned to have a CLI checker?
Thanks.
If you are using some type checker like Flow or TypeScript, You can check missing translations before runtime by using typed_i18n.
Please check it out a repository if you are interested https://github.com/kogai/typed_i18n
@kazupon Sorry for advertising my own tool :wink:
Hmm 🤔, I might create a plugin for eslint. 👮
@kogai Thanks for the link, but I don't use Flow nor TypeScript (yet?).
@kazupon Thanks! Can this be done with eslint ? :thinking:
Hi!
In my company we had more or less the same needing and we wanted to use this plugin (https://github.com/pixari/vue-i18n-extract) as a git hook.
I'll keep you posted as soon as we implement it just to share our experience.
move to vue-cli-plugin-i18n issues, due to be able to provide i18n command of CLI Service
Hi,
Any ideas on how this feature would be implemanted? Will it render a Vue instance to check for errors? Parse the code and compare with the locales?