File tree Expand file tree Collapse file tree 3 files changed +58
-13
lines changed Expand file tree Collapse file tree 3 files changed +58
-13
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,12 @@ You can currently add the following:
9999* ``:bitbucket_url: `` This will force the "Edit on Bitbucket" to the configured URL
100100* ``:gitlab_url: `` This will force the "Edit on GitLab" to the configured URL
101101
102+ Translations
103+ ============
104+
105+ You can help to translate the Read the Docs Sphinx Theme,
106+ please check out the ``TRANSLATE.rst `` file for more details.
107+
102108Changelog
103109=========
104110
Original file line number Diff line number Diff line change 1+ ******************
2+ Translation Guide
3+ ******************
4+
5+ .. contents ::
6+
7+ You can help to translate the Read the Docs Sphinx Theme.
8+
9+ Languages availables:
10+
11+ - Spanish contributed by Leonardo J. Caballero G.
12+ - Your Language by YOUR NAME.
13+
14+ Installation
15+ ============
16+
17+ For translate the Read the Docs Sphinx Theme you need install the following packages:
18+
19+ .. code :: bash
20+
21+ $ pip install babel Jinja2
22+
23+ Distutils/Setuptools Integration
24+ ================================
25+
26+ You can configure different parts of the theme.
27+
28+ Compile catalog
29+ ---------------
30+
31+ For compile catalog of the theme's project-wide is available.
32+ More options please, check out http://babel.pocoo.org/en/latest/setup.html#compile-catalog
33+
34+ Extract messages
35+ ----------------
36+
37+ It is available the option to extract messages to translate.
38+ More options please, check out http://babel.pocoo.org/en/latest/setup.html#extract-messages
39+
40+ init catalog
41+ ------------
42+
43+ It is available the option to init catalog.
44+ More options please, check out http://babel.pocoo.org/en/latest/setup.html#init-catalog
45+
46+ update catalog
47+ --------------
48+
49+ It is available the option to init catalog.
50+ More options please, check out http://babel.pocoo.org/en/latest/setup.html#update-catalog
51+
52+
Original file line number Diff line number Diff line change 55
66"""
77
8- try :
9- from babel .messages import frontend as babel
10- except ImportError :
11- pass
128from setuptools import setup
139from sphinx_rtd_theme import __version__
1410
4844 'Topic :: Documentation' ,
4945 'Topic :: Software Development :: Documentation' ,
5046 ],
51- install_requires = [
52- 'Sphinx>=1.4.1' ,
53- ],
54- cmdclass = {
55- 'compile_catalog' : babel .compile_catalog ,
56- 'extract_messages' : babel .extract_messages ,
57- 'init_catalog' : babel .init_catalog ,
58- 'update_catalog' : babel .update_catalog
59- },
6047)
You can’t perform that action at this time.
0 commit comments