Project

General

Profile

Bug #17279

Work around the lack of usable branches in Tor's translation.git

Added by intrigeri about 2 months ago. Updated 13 days ago.

Status:
Resolved
Priority:
Elevated
Assignee:
Category:
Internationalization
Target version:
Start date:
Due date:
% Done:

100%

Feature Branch:
bugfix/17279-workaround-lack-of-usable-tor-transifex-branches
Type of work:
Code
Blueprint:
Starter:
Affected tool:

Description

Scope: everything Tails that's translated via Transifex, except the tails-misc component, which does the right thing and works just fine for us.

At some point along the way for #16774, the _completed branches dropped content that was not fully translated and reviewed. So for example, tails-iuk_completed currently has translations for one single language. Our current doc + scripts to update translations will pull from these _completed branches and thus delete most translations (which also makes our scripts raise errors that need to be manually corrected). Since a few months, every time I pulled updated translations I had to manually workaround this to avoid losing translations. That's been fine by me as a temporary thing but it won't fly on the long term, especially with RMs who are less at ease with all this stuff, are not aware of what's going on, nor how they should workaround the current buggy situation.

The real fix is #16774#note-25, which needs some work on the Tor side by emmapeel. I'm not aware of progress nor of a timeline there, and it's been 2 months now, so I think it's time for me to implement workarounds. The drawback of the workarounds I'll put in place is that for every language that's not in the current _completed branch, translations we ship will be stuck to the last version we could import from there. That's already been the case every time I had to manually workaround the problem in the last couple months, so it won't be a regression.


Related issues

Related to Tails - Bug #16774: Transifex translations: we should not update from the _completed branches In Progress
Blocks Tails - Feature #16209: Core work: Foundations Team Confirmed

Associated revisions

Revision 7194227c (diff)
Added by intrigeri 21 days ago

import-translations: work around the lack of usable branches in Tor's translation.git (refs: #17279)

For all our Transifex resources but tails-misc, Tor's translation.git currently
has no usable branch:

- The _completed branches that we pull from only have languages which are fully
translated and reviewed, i.e. very few translations.
- The non-_completed branches have have non-reviewed translations, which we
don't want to ship anymore.

The real fix will be https://redmine.tails.boum.org/code/issues/16774#note-25.
We've been waiting for it for 3 months now, and it's not sustainable
that the RM has to manually workaround the currently problematic situation
by hand during every release process.

So in the meantime, keep shipping the PO files we've already imported
when no suitable up-to-date one is available.

Revision 0b39066f
Added by segfault 13 days ago

Merge branch 'bugfix/17279-workaround-lack-of-usable-tor-transifex-branches' into stable (Closes: #17279)

History

#1 Updated by intrigeri about 2 months ago

  • Related to Bug #16774: Transifex translations: we should not update from the _completed branches added

#2 Updated by intrigeri about 2 months ago

#3 Updated by intrigeri 21 days ago

  • Status changed from Confirmed to In Progress

#4 Updated by intrigeri 21 days ago

  • Status changed from In Progress to Needs Validation
  • Assignee deleted (intrigeri)

#5 Updated by intrigeri 16 days ago

  • Priority changed from Normal to Elevated

#6 Updated by segfault 13 days ago

  • Assignee set to segfault
  • Feature Branch set to bugfix/17279-workaround-lack-of-usable-tor-transifex-branches

#7 Updated by segfault 13 days ago

  • Status changed from Needs Validation to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF