New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to skip POT-Creation-Date #725
Comments
I would love this! We've got a GitHub Action step that runs |
We ended up adding a post-process step to strip out this line (and a couple more bespoke things). |
@Dreamsorcerer would you mind sharing some of that if possible? I started writing some bash to do this but it got unwieldily fairly quickly 😅 |
Slightly modified, but this should work (if you change We ended up using the extract function in a pre-commit hook to ensure that translations were always in-sync with the code. |
@Dreamsorcerer thank you! |
This feature would be very useful. Is there any updates on it? |
This feature can be to keep the creation date when updating, change it only on creation. |
PRs are very much welcome :) |
@akx |
This just got released in 2.13.0! |
@joeportela @akx What I am missing now is something similar for the POT |
Could we get an option to skip adding/updating the POT-Creation-Date header when running pybabel extract?
Use case is that we want a pre-commit hook that updates the translations, to ensure our translations are always in sync with the code base. But, because it changes this header every time, it results in a merge conflict with every single branch.
The text was updated successfully, but these errors were encountered: