-
Notifications
You must be signed in to change notification settings - Fork 156
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
"i18n.PostBuild.exe": don't do ".backups" and time stamps #279
Comments
AFAIK there aren't any switches currently to control that but please feel free to contribute that functionality. Thanks. |
I may have an interest to fix this on our side too, I'll have one question. The problem: I can exclude /locale/.pot and /locale/.backup from source control as they are automatically generated, but would like to keep the .po as it contain human generated translation. The curlpit: In this method SaveTranslation So basically the metadata can never stay the same. The patch: I'm thinking of a flag that disable those two lines The question What exactly is In particular does it do the same as PoEdit > Catalog> UpdateFromPotFIle ? If so it'll be worth 1000x time to do it manually and don't break source control. The long term plan Allow generated file to be indempotent. My plan Translation got pushed away on my current project, so I'll disable autobuild. |
A nice feature of PO GetText is that translation messages that become redundant over time are preserved in the .PO files (as unreferenced messages) in case they are ever brought back into use. The logic that does this is what the 'Merge' refers to. Here's some relevant notes from the code:
I'm not sure whether that's the same as the PO edit feature, but also can't see we can avoid the merge as part of PostBuild. |
Any updates on this issue? Really anoyning each build to see changes in po and pot files. |
I think this was fixed #331. That is included in the latest pre-release nuget packages, the latest being 2.1.11-pre002. |
Ok, thank you! |
Fixed in #331 @turquoiseowl thanks ! |
Hello,
Thanks for the great tool!
How can we stop i18n.PostBuild.exe to make the backup files and stop it to make time stamps in .po files like "POT-Creation-Date" and "PO-Revision-Date" ? This is a noise to git which handles updates and backups nicely.
The text was updated successfully, but these errors were encountered: