浏览代码

Add parameter to specify the language

Docbook-xsl has already translated some keywords to Chinese.  Now they
will show up.
Xi Ruoyao 7 年之前
父节点
当前提交
947cdac51a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Makefile

+ 1 - 0
Makefile

@@ -40,6 +40,7 @@ book: validate profile-html
       --stringparam chunk.quietly $(CHUNK_QUIET) \
       --stringparam rootid "$(ROOT_ID)"          \
       --stringparam base.dir $(BASEDIR)/         \
+      --stringparam l10n.gentext.default.language "zh_cn" \
       stylesheets/lfs-chunked.xsl                \
       $(RENDERTMP)/lfs-html.xml