Show translated man pages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Manpage Repository |
New
|
Undecided
|
Unassigned |
Bug Description
We have found the conversion spending a lot of time in packages like manpages-zh
manpages 674380 0.0 0.0 9108 3132 pts/0 S+ Nov17 0:00 | \_ /bin/bash -e /srv/manpages.
manpages 676314 0.0 0.0 9108 1656 pts/0 S+ Nov17 0:00 | \_ /bin/bash -e /srv/manpages.
manpages 676315 0.0 0.0 13036 4692 pts/0 S+ Nov17 0:00 | \_ /usr/bin/perl /usr/lib/
manpages 676318 0.0 0.0 2612 536 pts/0 S+ Nov17 0:00 | | \_ sh -c MAN_KEEP_
manpages 676319 0.1 0.0 8672 3052 pts/0 S+ Nov17 11:29 | | \_ man --no-hyphenation -l /tmp/manpages-
manpages 676328 0.0 0.0 2608 600 pts/0 S+ Nov17 0:00 | | \_ /bin/sh /usr/bin/nroff -mandoc -rLL=97n -rLT=97n -Tutf8
manpages 676333 0.0 0.0 6132 760 pts/0 S+ Nov17 0:00 | | | \_ groff -mtty-char -Tutf8 -mandoc -rLL=97n -rLT=97n
manpages 676334 93.4 0.0 11812 4764 pts/0 R+ Nov17 10730:49 | | | \_ troff -mtty-char -mandoc -rLL=97n -rLT=97n -Tutf8
manpages 676335 12.2 0.0 9788 2860 pts/0 S+ Nov17 1405:48 | | | \_ grotty
An example content:
root@n:~# dpkg -L manpages-zh | grep busc
/usr/share/
/usr/share/
That is nice, it even exists on the web:
- https:/
- https:/
And you might be lucky to find it via a search engine.
But the mapping from a non language specific https:/
Problem 1
Please Consider mapping generic request to their language if it exists
curl -s -H 'Accept-Language: zh_CN;q=
Should give the language specific one
Problem 2
Vice versa this already almost works fine, a language specific page will have all links language specific. And if that language does not exist as page it falls back to english.
https:/
=> https:/
Sadly this fallback is language specific (.../en/...) and never returns back to a native language.
If the fallback would not go to
https:/
but to
https:/
then the internal links would be non-language specific and would - if available - pick the right one (after problem #1 is fixed)