no Babel option known for language 'zh_CN'

Ming Chen avatarMing Chen created an issue


The language should support zh_CN, however I changed language to zh_CN, it raise following error and can not generate pdf.

docs $ make html

processing phone-buddy-ng.tex... index overview network software hardware deployment 
resolving references...
writing... WARNING: no Babel option known for language 'zh_CN'

detail error log:

$ xelatex *.tex
Document Class: sphinxmanual 2009/06/02 Document class (Sphinx manual)
Document Class: report 2007/10/19 v1.4h Standard LaTeX document class

! Package babel Error: You haven't specified a language option.

See the babel package documentation for explanation.
Type  H <return>  for immediate help.

l.149 ...ry to proceed from here, type x to quit.}


Is there anything missing ?

Comments (3)

  1. Georg Brandl

    I'm guessing that Chinese (and Korean) need special support similar to Japanese, which is already handled special (see sphinx/writers/ line 225.)

  2. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.