-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Added localization language support #405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 6 commits
ea89880
7dadea5
be27427
4cff61f
8f21fd0
3329e09
15d2198
fc9dfa5
4b1ff78
447b195
d05b2a9
bbc5394
2858a0a
81cd11d
cadb79f
a4fd6e0
bbaef3a
c35a4eb
bba0eed
45b72fa
326a12e
9c59240
5ddbabd
e53c739
cb18bac
e6008ce
8e83530
9b0215c
50f7c8b
3b50dc0
ae8debe
2f190b6
693454d
f955d33
ad66515
83b8084
71c6d8e
cd34154
fffca44
ab89bb1
8ac4638
8992188
7050db0
f9a2fe4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| ****************** | ||
| Translation Guide | ||
| ****************** | ||
|
|
||
| .. contents:: | ||
|
|
||
| You can help to translate the Read the Docs Sphinx Theme. | ||
|
|
||
| Languages availables: | ||
|
|
||
| - Spanish contributed by Leonardo J. Caballero G. | ||
| - Your Language by YOUR NAME. | ||
|
||
|
|
||
| Installation | ||
| ============ | ||
|
|
||
| For translate the Read the Docs Sphinx Theme you need install the following packages: | ||
|
||
|
|
||
| .. code:: bash | ||
| $ pip install babel Jinja2 | ||
|
||
| Distutils/Setuptools Integration | ||
| ================================ | ||
|
|
||
| You can configure different parts of the theme. | ||
|
|
||
| Compile catalog | ||
| --------------- | ||
|
|
||
| For compile catalog of the theme's project-wide is available. | ||
| More options please, check out http://babel.pocoo.org/en/latest/setup.html#compile-catalog | ||
|
|
||
| Extract messages | ||
| ---------------- | ||
|
|
||
| It is available the option to extract messages to translate. | ||
| More options please, check out http://babel.pocoo.org/en/latest/setup.html#extract-messages | ||
|
|
||
| init catalog | ||
| ------------ | ||
|
|
||
| It is available the option to init catalog. | ||
| More options please, check out http://babel.pocoo.org/en/latest/setup.html#init-catalog | ||
|
|
||
| update catalog | ||
| -------------- | ||
|
|
||
| It is available the option to init catalog. | ||
| More options please, check out http://babel.pocoo.org/en/latest/setup.html#update-catalog | ||
|
||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| # How setup this file | ||
| # http://babel.edgewall.org/wiki/Documentation/setup.html | ||
| # this file description: | ||
| # http://babel.edgewall.org/wiki/Documentation/messages.html#extraction-method-mapping-and-configuration | ||
|
|
||
| # Extraction from Jinja2 HTML templates | ||
| [jinja2: **/**.html] | ||
| encoding = utf-8 | ||
| ignore_tags = script,style | ||
| include_attrs = alt title summary |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,190 @@ | ||
| # Spanish translations for sphinx_rtd_theme. | ||
| # Copyright (C) 2017 Read the Docs | ||
| # This file is distributed under the same license as the sphinx_rtd_theme | ||
| # project. | ||
| # FIRST AUTHOR <EMAIL@ADDRESS>, 2017. | ||
| # Leonardo Caballero <[email protected]>, 2017. | ||
| msgid "" | ||
| msgstr "" | ||
| "Project-Id-Version: sphinx_rtd_theme 0.2.4\n" | ||
| "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" | ||
| "POT-Creation-Date: 2017-03-26 11:44-0400\n" | ||
| "PO-Revision-Date: 2017-03-26 18:40-0400\n" | ||
| "Last-Translator: Leonardo Caballero <[email protected]>\n" | ||
| "Language-Team: Spanish Team\n" | ||
| "Language: es\n" | ||
| "MIME-Version: 1.0\n" | ||
| "Content-Type: text/plain; charset=utf-8\n" | ||
| "Content-Transfer-Encoding: 8bit\n" | ||
| "Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
| "Generated-By: Babel 2.4.0\n" | ||
|
|
||
| #: sphinx_rtd_theme/breadcrumbs.html:31 | ||
| msgid "Docs" | ||
| msgstr "Documentos" | ||
|
|
||
| #: sphinx_rtd_theme/breadcrumbs.html:43 sphinx_rtd_theme/breadcrumbs.html:45 | ||
| msgid "Edit on GitHub" | ||
| msgstr "Editar en GitHub" | ||
|
|
||
| #: sphinx_rtd_theme/breadcrumbs.html:50 sphinx_rtd_theme/breadcrumbs.html:52 | ||
| msgid "Edit on Bitbucket" | ||
| msgstr "Editar en Bitbucket" | ||
|
|
||
| #: sphinx_rtd_theme/breadcrumbs.html:57 sphinx_rtd_theme/breadcrumbs.html:59 | ||
| msgid "Edit on GitLab" | ||
| msgstr "Editar en GitLab" | ||
|
|
||
| #: sphinx_rtd_theme/breadcrumbs.html:62 sphinx_rtd_theme/breadcrumbs.html:64 | ||
| msgid "View page source" | ||
| msgstr "Ver página de código fuente" | ||
|
|
||
| #: sphinx_rtd_theme/footer.html:5 | ||
| msgid "Next" | ||
| msgstr "Próximo" | ||
|
|
||
| #: sphinx_rtd_theme/footer.html:8 | ||
| msgid "Previous" | ||
| msgstr "Anterior" | ||
|
|
||
| #: sphinx_rtd_theme/footer.html:19 sphinx_rtd_theme/layout_old.html:193 | ||
| #, python-format | ||
| msgid "© <a href=\"%(path)s\">Copyright</a> %(copyright)s." | ||
| msgstr "© <a href=\\\"%(path)s\\\">Copyright</a> %(copyright)s." | ||
|
|
||
| #: sphinx_rtd_theme/footer.html:21 sphinx_rtd_theme/layout_old.html:195 | ||
| #, python-format | ||
| msgid "© Copyright %(copyright)s." | ||
| msgstr "© Copyright %(copyright)s." | ||
|
|
||
| #: sphinx_rtd_theme/footer.html:26 | ||
| #, python-format | ||
| msgid "" | ||
| "\n" | ||
| " <span class=\"build\">\n" | ||
| " Build\n" | ||
| " <a href=\"%(build_url)s\">%(build_id)s</a>.\n" | ||
| " </span>\n" | ||
| " " | ||
| msgstr "" | ||
| "\n" | ||
| " <span class=\"build\">\n" | ||
| " Construido\n" | ||
| " <a href=\"%(build_url)s\">%(build_id)s</a>.\n" | ||
| " </span>\n" | ||
| " " | ||
|
|
||
| #: sphinx_rtd_theme/footer.html:33 | ||
| #, python-format | ||
| msgid "" | ||
| "\n" | ||
| " <span class=\"commit\">\n" | ||
| " Revision <code>%(commit)s</code>.\n" | ||
| " </span>\n" | ||
| " " | ||
| msgstr "" | ||
| "\n" | ||
| " <span class=\"commit\">\n" | ||
| " Revisión <code>%(commit)s</code>.\n" | ||
| " </span>\n" | ||
| " " | ||
|
|
||
| #: sphinx_rtd_theme/footer.html:39 sphinx_rtd_theme/layout_old.html:199 | ||
| #, python-format | ||
| msgid "Last updated on %(last_updated)s." | ||
| msgstr "Actualizado por última vez en %(last_updated)s." | ||
|
|
||
| #: sphinx_rtd_theme/footer.html:46 | ||
| msgid "" | ||
| "Built with <a href=\"http://sphinx-doc.org/\">Sphinx</a> using a <a " | ||
| "href=\"https://github.com/snide/sphinx_rtd_theme\">theme</a> provided by " | ||
| "<a href=\"https://readthedocs.org\">Read the Docs</a>" | ||
| msgstr "" | ||
| "Construido con <a href=\"http://sphinx-doc.org/\">Sphinx</a> usando un <a " | ||
| "href=\"https://github.com/snide/sphinx_rtd_theme\">tema</a> proporcionado por " | ||
| "<a href=\"https://readthedocs.org\">Read the Docs</a>" | ||
|
|
||
| #: sphinx_rtd_theme/layout.html:35 sphinx_rtd_theme/layout_old.html:123 | ||
| #, python-format | ||
| msgid "Search within %(docstitle)s" | ||
| msgstr "Buscar en %(docstitle)s" | ||
|
|
||
| #: sphinx_rtd_theme/layout.html:55 sphinx_rtd_theme/layout_old.html:135 | ||
| msgid "About these documents" | ||
| msgstr "Sobre este documento" | ||
|
|
||
| #: sphinx_rtd_theme/layout.html:59 sphinx_rtd_theme/layout_old.html:138 | ||
| msgid "Index" | ||
| msgstr "Índice" | ||
|
|
||
| #: sphinx_rtd_theme/layout.html:63 sphinx_rtd_theme/layout_old.html:141 | ||
| #: sphinx_rtd_theme/search.html:11 | ||
| msgid "Search" | ||
| msgstr "Búsqueda" | ||
|
|
||
| #: sphinx_rtd_theme/layout.html:66 sphinx_rtd_theme/layout_old.html:144 | ||
| msgid "Copyright" | ||
| msgstr "Copyright" | ||
|
|
||
| #: sphinx_rtd_theme/layout_old.html:29 | ||
| msgid "Navigation" | ||
| msgstr "Navegación" | ||
|
|
||
| #: sphinx_rtd_theme/layout_old.html:202 | ||
| #, python-format | ||
| msgid "" | ||
| "Created using <a href=\"http://sphinx-doc.org/\">Sphinx</a> " | ||
| "%(sphinx_version)s." | ||
| msgstr "" | ||
| "Creado usando <a href=\"http://sphinx-doc.org/\">Sphinx</a> " | ||
| "%(sphinx_version)s." | ||
|
|
||
| #: sphinx_rtd_theme/search.html:26 | ||
| msgid "" | ||
| "Please activate JavaScript to enable the search\n" | ||
| " functionality." | ||
| msgstr "" | ||
| "Por favor, active JavaScript para habilitar la funcionalidad\n" | ||
| " de búsqueda." | ||
|
|
||
| #: sphinx_rtd_theme/search.html:33 | ||
| msgid "Search Results" | ||
| msgstr "Resultados de la búsqueda" | ||
|
|
||
| #: sphinx_rtd_theme/search.html:35 | ||
| msgid "" | ||
| "Your search did not match any documents. Please make sure that all words " | ||
| "are spelled correctly and that you've selected enough categories." | ||
| msgstr "Su búsqueda no coincide con ningún documentos. Por favor, asegúrese de que todas las palabras estén correctamente escritas y que usted allá seleccionado las suficientes categorías." | ||
|
|
||
| #: sphinx_rtd_theme/searchbox.html:4 | ||
| msgid "Search docs" | ||
| msgstr "Buscar documentos" | ||
|
|
||
| #: sphinx_rtd_theme/versions.html:11 | ||
| msgid "Versions" | ||
| msgstr "Versiones" | ||
|
|
||
| #: sphinx_rtd_theme/versions.html:17 | ||
| msgid "Downloads" | ||
| msgstr "Descargas" | ||
|
|
||
| #: sphinx_rtd_theme/versions.html:23 | ||
| msgid "On Read the Docs" | ||
| msgstr "En Read the Docs" | ||
|
|
||
| #: sphinx_rtd_theme/versions.html:25 | ||
| msgid "Project Home" | ||
| msgstr "Página de Proyecto" | ||
|
|
||
| #: sphinx_rtd_theme/versions.html:28 | ||
| msgid "Builds" | ||
| msgstr "Construcciones" | ||
|
|
||
| #: sphinx_rtd_theme/versions.html:32 | ||
| msgid "" | ||
| "Free document hosting provided by <a " | ||
| "href=\"http://www.readthedocs.org\">Read the Docs</a>." | ||
| msgstr "" | ||
| "Alojamiento gratuito de documentos proporcionado por <a " | ||
| "href=\"http://www.readthedocs.org\">Read the Docs</a>." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm -1 on littering the repo with these files, this should be in our documentation instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@agjohnson inside a docs directory with a Sphinx documentation format?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think inside the demo docs. Are general idea is to make them include more information about the theme.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Blendify inside demo_docs folder?