[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#703619: marked as done (www.debian.org: language-related problem with http://www.debian.org/doc/manuals/developers-reference pages)

Your message dated Sun, 14 Jun 2015 13:08:11 +0900
with message-id <20150614040811.GA16093@goofy.local>
and subject line Re: Bug#659070: bad internal links on www.debian.org for developers-reference
has caused the Debian Bug report #659070,
regarding www.debian.org: language-related problem with http://www.debian.org/doc/manuals/developers-reference pages
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

659070: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659070
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: www.debian.org
Severity: normal

The page


is in English, but if I follow the "Table of Contents" links, I get
pages in French[*]. There is no way to stay on the English pages.
IMHO, all link URL's should contain language information, e.g. the


URL in the link should be replaced by


and each page should allow one to switch the language, via HTML
contents (as this can already be done on the index page) and/or
via <link rel="alternate" .../>.

Another related problem is that explicit French pages like


contains a link "Sommaire" to


which is in English. Ditto, the URL should be:


[*] probably because my web browser is configured to ask French by
default, but this is a general choice, and web pages should have a
way to choose other available languages.

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.8-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

--- End Message ---
--- Begin Message ---

Tested locally by changing common.sh to use:

And commited.  If anything nasty happens, please do not hesitate to

On Sat, Jun 13, 2015 at 07:56:38PM +0900, Charles Plessy wrote:
> no problem, it would take as much time for me to remember how the script works
> than to learn it again from scratch.

At least cleaner and regular :-)
> Have a nice week-end,

Yes.  Hot and humid though ...

# convert all internal href URLs from *.html to *.$lang.html
sed -e "s/\(href=\"[^\/:\"= ]*\)\.html/\1.$lang.html/g" <$infile >$outfile

This function is used to fix internal reference renaming.

Now not only developers-reference but some other new files are free of
this bug.

These are new with content negotiation.  If these are good, I will add
them to https://www.debian.org/doc/user-manuals

ADD mode does this.

https://www.debian.org/doc/index.en.html update is later ...

Osamu Aoki
Aobadai, Yokohama, Kanagawa, Japan

--- End Message ---

Reply to: