Skip to content
This repository was archived by the owner on Apr 22, 2024. It is now read-only.

Missing translation CI #34

Open
soullivaneuh opened this issue Aug 22, 2018 · 6 comments
Open

Missing translation CI #34

soullivaneuh opened this issue Aug 22, 2018 · 6 comments

Comments

@soullivaneuh
Copy link

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.

@kogai
Copy link

kogai commented Aug 22, 2018

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 😉

@kazupon
Copy link
Member

kazupon commented Aug 22, 2018

Hmm 🤔, I might create a plugin for eslint. 👮

@soullivaneuh
Copy link
Author

@kogai Thanks for the link, but I don't use Flow nor TypeScript (yet?).

@kazupon Thanks! Can this be done with eslint ? 🤔

@pixari
Copy link

pixari commented Feb 8, 2019

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.

@kazupon
Copy link
Member

kazupon commented Feb 10, 2019

move to vue-cli-plugin-i18n issues, due to be able to provide i18n command of CLI Service

@kazupon kazupon transferred this issue from kazupon/vue-i18n Feb 10, 2019
@WilliamDASILVA
Copy link

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants