You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My build pipeline is something like: lint > flow > test > build.
I would like to add checks for missing messages.
lingui extract produces a nice catalog statistics, that show if there are some missing translations.
Problem is, I can't plug it to my pipeline. I need a check that exits with error code, if there are some missing translations.
I'd like my pipeline to abort build and show error in this case.
Hopefully, this won't be hard to implement.
Thanks!
The text was updated successfully, but these errors were encountered:
What about lingui compile --validate? There're might be other validations in the future, so it's a good start.
The reason why I prefer compile instead of extract is that in the near future I want to release sync command, which downloads translation from external service (like Transifex). The workflow would be extract -> sync -> compile, so the validation in last step makes sense.
Apologise for necro posting but does --strict checks for missing files, or actual translations?
Cause it seems not to work with translations. I have all translations missing, for sure, and it still exits successfully.
Hello,
My build pipeline is something like: lint > flow > test > build.
I would like to add checks for missing messages.
lingui extract
produces a nice catalog statistics, that show if there are some missing translations.Problem is, I can't plug it to my pipeline. I need a check that exits with error code, if there are some missing translations.
I'd like my pipeline to abort build and show error in this case.
Hopefully, this won't be hard to implement.
Thanks!
The text was updated successfully, but these errors were encountered: