dman only supports en_* locales

Bug #677200 reported by Nobuto Murata on 2010-11-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bikeshed
Undecided
Unassigned

Bug Description

dman can get manpages only in en_* locales.
In other locales (e.g. ja_JP.utf8), dman access the URL below and gets 404: Not Found error.
http://manpages.ubuntu.com/manpages.gz//maverick/ja_JP.utf8/man1/deja-dup.1.gz
The right URL is the line below. So dman should stripped out "_COUNTRY.utf8" string.
http://manpages.ubuntu.com/manpages.gz//maverick/ja/man1/deja-dup.1.gz

Besides there are unlocalised manpages.
So try getting localised version first, then if there is no localised version, fall back to generic locale.

Related branches

Nobuto Murata (nobuto) on 2010-11-18
Changed in bikeshed:
assignee: nobody → Nobuto MURATA (nobuto)
status: New → In Progress
Nobuto Murata (nobuto) wrote :

I proposed merging my branch.

Changed in bikeshed:
assignee: Nobuto MURATA (nobuto) → nobody
status: In Progress → New
Dustin Kirkland  (kirkland) wrote :

Thanks!

Changed in bikeshed:
status: New → Fix Committed
Nobuto Murata (nobuto) wrote :

bikeshed (1.6-0ubuntu1) natty; urgency=low

  [ Nobuto MURATA ]
  * dman: set users' locale when gettting manpages, LP: #677200
  * bzrp: avoid passing unsupported options to pager other than less,
    LP: #677049

 -- Dustin Kirkland <email address hidden> Fri, 19 Nov 2010 22:20:23 -0600

Changed in bikeshed:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers