add 'locale_dirs' and 'gettext_compact' to conf.py for translation setup easier

This commit is contained in:
Takayuki Shimizukawa 2013-03-31 12:22:08 +09:00
parent 41971a6617
commit 649a75c427

View File

@ -83,6 +83,10 @@ texinfo_documents = [
# the mapping: # the mapping:
intersphinx_mapping = {'python': ('http://docs.python.org/dev', None)} intersphinx_mapping = {'python': ('http://docs.python.org/dev', None)}
# Sphinx document translation with sphinx gettext feature uses these settings:
locale_dirs = ['locale/']
gettext_compact = False
# -- Extension interface ------------------------------------------------------- # -- Extension interface -------------------------------------------------------