Re: Marking incompletely translated pages
Changwoo Ryu <email@example.com> wrote:
> Is there a way to mark translated pages as
> "incomplete"(partially-translated) or (at least) "outdated"
> I recently found that most of the Korean-translated security advisory
> pages were incomplete. Most of those pages have only their titles, a
> typical line of "We recommend that you upgrade..." and line of
> "...refer to its security tracker page at" translated. Other
> descriptive texts were not translated but the whole pages were
> committed as "up-to-date" pages. For example:
> It is not healthful way of translation but here I don't want to blame
> the translator. I just want to show these incomplete pages as
> incomplete in the translated pages and the translation statistics
> page, not to hide them as up-to-date. Then other people could notice
> that and do the unfinished job if they wish.
> This is why I want to mark some translated pages as incomplete. I
> skimmed english/template/debian/translation-check.wml template but I
> couldn't find a way. If there's no such way, let's make one please.
The framework for this is already there, it is based on the header lines
#use wml::debian::translation-check translation="6f3adf6374f35194686f89dec2ba66b1ecf3bb5f"
which point to the commit hash of the corresponding english version of
that page. If that hash is too old, a hint is inserted into the outdated
translated version of the page, saying "This page is outdated, use the
See for example here:
If the translation-check header is set to the "wrong" hash value (means:
pointing to the latest commit hash for english, which is seens as "This
translation is up-to-date"), the mechanism cannot work, though.
To fix the situation for you, I assume you can set the header to something
#use wml::debian::translation-check translation="xxxyyyzzz"
(along with a comment in the next line saying why you changed the hash).
That should result in the above warning being displayed for that page.
Holger Wansing <firstname.lastname@example.org>
PGP-Fingerprint: 496A C6E8 1442 4B34 8508 3529 59F1 87CA 156E B076