Open
Description
Q | A |
---|---|
Bundle version | N/A |
Symfony version | N/A |
PHP version | N/A |
Expected behavior
If I run translation:extract and no changes have occurred the translation files should have been left alone.
Actual behavior
Existing translation files (XLIFF in particular) have an updated timestamp.
When you have multiple domains and locales this becomes a bit annoying to manage in git. We have a project with 3 domains and 6 languages. So get 18 files changed even if only one domain received an update. Not a big deal but kinda annoying. I looked into the updater class and don't see an clear and easy way to exclude them. There is a method to get a changeset but it isn't immediately obvious for me how to remove the domains from the catalogue that don't need to be touched. So I filed a bug to track the issue.