Suggestions with errors do not appear on https://staging.tails.boum.org/last-sanity-errors.txt anymore
Not sure when or why this started happening, but finding the suggestions that have errors is right now very difficult for me and impossible for translators that have no ssh access to the server
This also leads to the staging site not being built since a while, which is, I think, #17661
ikiwiki failed; for details, see /var/log/weblate/update-staging-website_ikiwiki.log on translate.lizard
require of me several steps to see the errors we used to see by simply going to https://staging.tails.boum.org/last-sanity-errors.txt , that now is empty:
The translation mantainers receive a message on the schleuder list saying simply: ikiwiki failed; for details, see /var/log/weblate/update-staging-website_ikiwiki.log on translate.lizard
- the file at /var/log/weblate/update-staging-website_ikiwiki.log.1 (not /var/log/weblate/update-staging-website_ikiwiki.log that is possibly empty since a bit after this mail was sent) tells me very cryptically:
Invalid po file /tmp/ikiwiki-po-filter-in.Xws7e7BP6p: /tmp/ikiwiki-po-filter-in.Xws7e7BP6p:48: 'msgid' and 'msgstr' entries do not both end with '\n'
With this information I go to the file /tmp/ikiwiki-po-filter-in.Xws7e7BP6p,
I need to find out the language from the file (this time Russian) because the temporary filename does not reflect the path in the wiki and go to each line that has the problem (it would be better if it was called, in this case, wiki/src/contribute/ru/ or similar) .
Then I need to search for the suggestions that make the error, and correct them. see for example: https://translate.tails.boum.org/translate/tails/contribute/ru/?checksum=d3428d712ec563a It is not possible to search through the suggestions.
As the errors in one file make the whole staging site not to finish the build, I am fixing the errors in one file, then I wait for the next run and I get another file, I fix it, I wait for the next round. Each round takes longer to do, around 10min.
So our staging site is very old: https://staging.tails.boum.org/
All of this, without intervention or knowledge of the person that made the suggestion, which does not help the new translators to self-learn. This could be improved by updating weblate to 4.x: ref: https://github.com/WeblateOrg/weblate/issues/2383
If the new translators had the ability to save its translations instead of only suggesting, I could search for the errors through https://translate.tails.boum.org/checks/?project=tails , but as they are only suggestions, I cannot search for them.
So this ticket could also be fixed by changing the translation workflow as i propose in #17655 (comment 149467)