Open Beep6581 opened 9 years ago
Thanks a lot for trying to fix this real problem. Your suggestion is interesting, however
it would be up to the translator to update the checksum as soon as the key has been
translated/updated. Moreover, not all devs can/will run the script to update the checksum,
I'm pretty sure of that.
Maybe something simpler could be done without adding tons of checksum through Mercurial?
It's the way I'm using actually: I'm asking the history of the "default" file then
update all strings that have been changed since the last update of the translation
file.
Maybe it would be simpler to investigate on Mercurial's possibilities, e.g. asking
to compare the current version of "default" to the one of a specific date. Not sure
it can be easily done :-/
Reported by natureh.510
on 2014-01-30 20:28:38
Accepted
"it would be up to the translator to update the checksum as soon as the key has been
translated/updated"
Actually nothing would change, because I still run generateTranslationDiffs on every
user-submitted translation before committing it, and that would update the checksums.
"not all devs can/will run the script to update the checksum, I'm pretty sure of that"
Yes that is a problem with the current script too - Bash.
Using mercurial is also not optimal because, well, you'd have to use mercurial :] That
means learning it, and also means cloning. I've had complaints from package managers
(those people who make RT available on various distributions), which is why since 4.0.9
I started including source tarballs, so they can ship RT without having to use mercurial
and without having to clone. I guess translators wouldn't like this either.
Oscar is working on a javascript interface to handle translations. We're discussing
all of this via email, including the handling of modified source text. That should
be good - no installation, cross-platform. Not sure if it will make generateTranslationDiffs
completely obsolete, but it will diminish the need for using it and make translation
easier.
Reported by entertheyoni
on 2014-01-31 08:15:09
Originally reported on Google Code with ID 2225
Reported by
entertheyoni
on 2014-01-28 07:01:57