Jump to content

Topic on Extension talk:Translate/Archive 2

Hide translated page until 100% reviewed

3
Derf Jagged (talkcontribs)

Is there a setting to hide translated pages from non-translators until they are 100% reviewed? I'd like to have all pages reviewed by at least one other person before going "live".

Pardon if I'm missing something obvious, I scrubbed through the various help pages and couldn't find anything indicating that it's a feature.

Tacsipacsi (talkcontribs)

I don’t think it’s currently possible, and while it seems reasonable at first sight, there are some potential issue with it:

  • What does “hide” mean? Since translations are wiki pages, you can’t really make them entirely disappear for “non-translators” but still appear for translators (the page either exists or doesn’t exist). It could be hidden from the language selector (and there’s precedent for that: a similar but not configurable hiding was recently removed in phab:T359974) – is this what you mean?
  • What if a page used to be 100% reviewed, but is no longer? For example because someone edited a translation (maybe just a typo fix), or because the source page changed (which could even be a complete rewrite). Should the page disappear? The answer is probably “it depends”, which is not necessarily something that can be implemented in the program code. (And even if the answer is a definite no, that complicates things quite a bit compared to a definite yes, as it’s not enough to track the current state, the historical state needs to be tracked too.)
Derf Jagged (talkcontribs)

Thanks for the reply.

  • Yes, hiding it from the language selector is what I meant.
  • If the source page is updated, it would be put in the untranslated queue as normal and the existing translated pages would still be considered 100% reviewed since all the actual translations so far are reviewed. I believe this is how it's treated currently (I just tried it). But yes, that's a good point about the consequence of making a whole page hidden just because a translator made an update to their translation or translated a newly added source section.

I suppose the best implementation would be

  1. In the case of the initial translation of a page, hide the page from the language selector until there's at least one reviewed piece of content on the translated page.
  2. If a translation is updated or a new translated section added, show the old state of the section until the new one is reviewed. But you're right that it'd be much more complicated on the backend.

Anyway at this point, I suppose it's a pipedream feature request since it sounds like there's not really a system in place currently and it's beyond my skills to add. I appreciate the brainstorming/idea exercise nonetheless :)

Reply to "Hide translated page until 100% reviewed"