Assuming Debian or Ubuntu, this should generate the manual's HTML file to open in a browser:
If you have a full build environment,
Code:
/usr/bin/po4a-translate -f docbook -L utf8 -m doc/manual/manual.en.xml -p po/wesnoth-manual/ar.po -l doc/manual/manual.ar.xml --keep 0/usr/bin/xsltproc --nonet --stringparam callout.graphics 0 --stringparam navig.graphics 0 --stringparam admon.textlabel 1 --stringparam admon.graphics 0 --stringparam html.stylesheet ./styles/manual.css /etc/asciidoc/docbook-xsl/xhtml.xsl doc/manual/manual.ar.xml > doc/manual/manual.ar.html
scons update-po4a
should run that, although it will run it without the --keep 0
, which means that it will only generate the HTML file for languages that are a certain amount translated, by default 80%.Statistics: Posted by octalot — Yesterday, 6:31 pm