Bug#912724: www.debian.org: wrong links to translations of "Debian Developer's Reference"
Package: www.debian.org Severity: normal Tags: l10n Dear Maintainer, Debian Developer's Reference on the Debian's website [reference] contains wrong links to translations of the documantation. That is, French translation is linked as index.fr.en.html (where it should be index.fr.html) and so on. The same problem holds for translations, that is French translation [reference-fr] links to Italian as index.it.fr.html (where it should be index.it.html). [reference-en] https://www.debian.org/doc/manuals/developers-reference/index.en.html [reference-fr] https://www.debian.org/doc/manuals/developers-reference/index.fr.html I guess the problem is with the content negotiation, since there's no such problems both in the source code of the documentation and in the documentation provided in the package developers-reference (and its translations). It may be possible that content negotiation breaks some other links to translated documentation in the same way. With regards, Lev -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.18.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE=ru_RU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
Re: Bug#912724: www.debian.org: wrong links to translations of "Debian Developer's Reference"
Control: reassign 912724 developers-reference Lev Lamberov wrote: > Package: www.debian.org > Severity: normal > Tags: l10n > > Dear Maintainer, > > Debian Developer's Reference on the Debian's website [reference] > contains wrong links to translations of the documantation. That is, > French translation is linked as index.fr.en.html (where it should be > index.fr.html) and so on. The same problem holds for translations, > that is French translation [reference-fr] links to Italian as > index.it.fr.html (where it should be index.it.html). > > [reference-en] > https://www.debian.org/doc/manuals/developers-reference/index.en.html > > [reference-fr] > https://www.debian.org/doc/manuals/developers-reference/index.fr.html > > I guess the problem is with the content negotiation, since there's no > such problems both in the source code of the documentation and in the This has already been reported (years ago :-( ) in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690750 (and: no, there's no content negotiation involved here, that's static links; thus reassigning to package) I have already proposed a fix there, too. @hideki: any objections against me committing the patch from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690750#17 ? Holger -- Created with Sylpheed 3.5.1 under D E B I A N L I N U X 9 " S T R E T C H " . Registered Linux User #311290 - https://linuxcounter.net/
Processed: Re: Bug#912724: www.debian.org: wrong links to translations of "Debian Developer's Reference"
Processing control commands: > reassign 912724 developers-reference Bug #912724 [www.debian.org] www.debian.org: wrong links to translations of "Debian Developer's Reference" Bug reassigned from package 'www.debian.org' to 'developers-reference'. Ignoring request to alter found versions of bug #912724 to the same values previously set Ignoring request to alter fixed versions of bug #912724 to the same values previously set -- 690750: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690750 912724: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912724 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Broken links in developers-reference as published on the Debian's website
Hi Holger, thanks for your attention to the bug report, but my report was about a different issue. Let me explain. First, let's take a look at developers-reference as it pubished on the Debian's website. Say, in English [web-en]. It incorrectly links to translations as index.{fr,de,it,ru,jp}.en.html, such files do not exist. Any other translation, say, French [web-fr] links to translations as index.{de,it,ru,jp}.fr.html, such files do not exist. [web-en] https://www.debian.org/doc/manuals/developers-reference/index.en.html [web-fr] https://www.debian.org/doc/manuals/developers-reference/index.fr.html Second, let's take a look at developers-reference package. All links there are correct, that is in _any_ language links point to index.{fr,de,it,ru,jp}.html. Third, let's take a look at developers-reference source code. In English we currently have as follows: If you want to print this reference, you should use the pdf version. This page is also available in French, German, Italian, Russian, and Japanese. Again, links are correct and point to index.{fr,de,it,ru,jp}.html. And the same holds for any translation. Broken links are only in developers-reference published on the Debian's website. Since links in the source code and in the developers-reference package are correct, then it is the content negotiation problem. Looks like the webserver incorrectly rewrites links. Let me stress that my report is _not_ about links to English, or links in English. It is about _broken_ links in _any_ developers-reference as published on the Debian's website. So, my bug report is about www.debian.org, not developers-reference. Please, reconsider it and reassign #912724 to www.debian.org. Regards, Lev