It's based on manpages-zh project, a successor for CMPP linux man pages translation project (discontinued), and Linux CN linux man pages translation project, with some new addons from openSUSE maintainers.
It's been used by openSUSE project as source for man-pages-zh_CN package.
CMPP project once maintained manpage-zh project, but it's dead.
Now Linux-cn maintain another manpage-zh project, but no useful result has been seen.
So I decided to maintain my own.
If the above two projects have any updates, I'll merge them here.
If not, I will do my own translations here.
You need xml2po
program installed, for openSUSE:
sudo zypper in xml2po
raw
directory.unpack.sh
script, it will unpack the .gz manpages.man2xml.sh
script, it will generate xml files in xml directory.xml2pot.sh
script, it will generate pot files in 50-pot directory.merge.sh
script, it will merge the pot into the po files.Then translate as you want.
You need xml2po
and docbook2x
packages installed, for openSUSE:
sudo zypper in xml2po docbook2x
finished_po
directorypo2xml.sh
script, it'll generate translated xml in xml_cn
directoryxml2man.sh
script, it'll generate uncompressed manpage in output
directory and compressed ones in compressed
directory