Added i18n support using Babel and Spanish translation

This commit is contained in:
Leonardo J. Caballero G committed 2017-04-01 08:59:46 -04:00
1 parent ea8988043c
commit 7dadea5172
8 files changed
+407

No files matched your search

+10
View File
@@ -4,6 +4,7 @@
.. _github: https://www.github.com/snide/sphinx_rtd_theme
"""
from babel.messages import frontend as babel
from setuptools import setup
from sphinx_rtd_theme import __version__
@@ -43,4 +44,13 @@ setup(
'Topic :: Documentation',
'Topic :: Software Development :: Documentation',
],
install_requires= [
'Sphinx>=1.4.1',
],
cmdclass = {
'compile_catalog': babel.compile_catalog,
'extract_messages': babel.extract_messages,
'init_catalog': babel.init_catalog,
'update_catalog': babel.update_catalog
},
)