-
-
Notifications
You must be signed in to change notification settings - Fork 890
Update translation/translators.rst
#1576
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 1 commit
9ca670a
8960469
b42731a
d4e50f7
7e0bbc7
6f22c65
3b00bdd
487809c
0035845
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 |
---|---|---|
@@ -1,18 +1,22 @@ | ||
.. _translating: | ||
|
||
=========== | ||
Translating | ||
=========== | ||
|
||
.. highlight:: rest | ||
|
||
Python documentation translations are governed by :PEP:`545`. | ||
They are built by `docsbuild-scripts | ||
<https://github.com/python/docsbuild-scripts/>`__ and hosted on | ||
docs.python.org. There are several documentation translations already | ||
in production; others are works in progress. See `the dashboard | ||
<https://python-docs-translations.github.io/dashboard/>`__ for | ||
details. | ||
There are several documentation translations already | ||
in production; others are works in progress. To get started read your | ||
repositories contributing guide, which is generally the ``README`` | ||
file, and this page. | ||
StanFromIreland marked this conversation as resolved.
Show resolved
Hide resolved
|
||
If your language isn’t listed below, feel free to start the translation! | ||
See :doc:`coordinating` on how to get started. | ||
|
||
For more details about translations and their progress, see `the dashboard | ||
<https://python-docs-translations.github.io/dashboard/>`__. | ||
|
||
.. _translation-coordinators: | ||
|
||
.. XXX Add explicit links to README/CONTRIBUTING? | ||
|
||
StanFromIreland marked this conversation as resolved.
Show resolved
Hide resolved
|
||
.. list-table:: | ||
:header-rows: 1 | ||
|
@@ -23,35 +27,36 @@ details. | |
* - Arabic (ar) | ||
- Abdur-Rahmaan Janhangeer (:github-user:`Abdur-rahmaanJ`) | ||
- :github:`GitHub <Abdur-rahmaanJ/python-docs-ar>` | ||
* - Bengali (bn_IN) | ||
* - `Bengali (bn_IN) <https://docs.python.org/bn-in/>`__ | ||
- Kushal Das (:github-user:`kushaldas`) | ||
- :github:`GitHub <python/python-docs-bn-in>` | ||
* - `French (fr) <https://docs.python.org/fr/>`__ | ||
- Julien Palard (:github-user:`JulienPalard`) | ||
- :github:`GitHub <python/python-docs-fr>` | ||
* - Greek (gr) | ||
- Lysandros Nikolaou (:github-user:`lysnikolaou`), | ||
Fanis Petkos (:github-user:`thepetk`), | ||
Panagiotis Skias (:github-user:`skpanagiotis`) | ||
- `AFPy/python-docs-fr <https://git.afpy.org/AFPy/python-docs-fr/>`_ | ||
:github:`Mirror <python/python-docs-fr>` | ||
* - `Greek (gr) <https://docs.python.org/gr/>`__ XXX Should be added soonish | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. cc @JulienPalard Is this correct, it is what I gathered from the repositories though it is in French so I may be wrong? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is correct. French translation happens at AFPy's Gitea and are simply mirrored to GitHub. Instead of "GitHub" or "AFPy", there could be "repo" or "repository" text which links to the proper translation repository (for all rows in the table). Please add a comma before "Mirror"
StanFromIreland marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- | Lysandros Nikolaou (:github-user:`lysnikolaou`), | ||
| Fanis Petkos (:github-user:`thepetk`), | ||
| Panagiotis Skias (:github-user:`skpanagiotis`) | ||
- :github:`GitHub <pygreece/python-docs-gr>` | ||
* - Hindi (hi_IN) | ||
- Sanyam Khurana (:github-user:`CuriousLearner`) | ||
- :github:`GitHub <CuriousLearner/python-docs-hi-in>` | ||
* - Hungarian (hu) | ||
- :github:`GitHub <CuriousLearner/python-docs-hi-in>` XXX Message user in issue tracker https://github.com/CuriousLearner/python-docs-hi-in/issues/5 | ||
* - `Hungarian (hu) <https://docs.python.org/hu/>`__ XXX This should probably be added | ||
- Tamás Bajusz (:github-user:`gbtami`) | ||
StanFromIreland marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- :github:`GitHub <python/python-docs-hu>`, | ||
`mailing list <https://mail.python.org/pipermail/python-hu>`__ | ||
`Mailing list <https://mail.python.org/pipermail/python-hu>`__ | ||
* - `Indonesian (id) <https://docs.python.org/id/>`__ | ||
- Irvan Putra (:github-user:`irvan-putra`), | ||
Jeff Jacobson (:github-user:`jwjacobson`) | ||
- | Irvan Putra (:github-user:`irvan-putra`), | ||
| Jeff Jacobson (:github-user:`jwjacobson`) | ||
- :github:`GitHub <python/python-docs-id>` | ||
* - Italian (it) | ||
* - `Italian (it) <https://docs.python.org/it/>`__ | ||
- Alessandro Cucci (`email <mailto:[email protected]>`__) | ||
- :github:`GitHub <python/python-docs-it>`, | ||
`original mail <https://mail.python.org/pipermail/doc-sig/2019-April/004114.html>`__ | ||
`Original announcement <https://mail.python.org/pipermail/doc-sig/2019-April/004114.html>`__ | ||
* - `Japanese (ja) <https://docs.python.org/ja/>`__ | ||
willingc marked this conversation as resolved.
Show resolved
Hide resolved
StanFromIreland marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- Kinebuchi Tomohiko (:github-user:`cocoatomo`), | ||
Atsuo Ishimoto (:github-user:`atsuoishimoto`) | ||
- | Kinebuchi Tomohiko (:github-user:`cocoatomo`), | ||
| Atsuo Ishimoto (:github-user:`atsuoishimoto`) | ||
- :github:`GitHub <python/python-docs-ja>` | ||
* - `Korean (ko) <https://docs.python.org/ko/>`__ | ||
- 오동권 (:github-user:`flowdas`) | ||
|
@@ -61,32 +66,32 @@ details. | |
- :github:`GitHub <sanketgarade/python-doc-mr>` | ||
* - Lithuanian (lt) | ||
- Albertas Gimbutas (:github-user:`albertas`, `email <mailto:[email protected]>`__) | ||
- `Original mail <https://mail.python.org/pipermail/doc-sig/2019-July/004138.html>`__ | ||
- `Original announcement <https://mail.python.org/pipermail/doc-sig/2019-July/004138.html>`__ | ||
* - Persian (fa) | ||
- Alireza Shabani (:github-user:`revisto`) | ||
- :github:`GitHub <revisto/python-docs-fa>` | ||
* - `Polish (pl) <https://docs.python.org/pl/>`__ | ||
- Maciej Olko (:github-user:`m-aciek`) | ||
- :github:`GitHub <python/python-docs-pl>`, | ||
`Transifex <tx_>`_, | ||
`original mail <https://mail.python.org/pipermail/doc-sig/2019-April/004106.html>`__ | ||
`Original announcement <https://mail.python.org/pipermail/doc-sig/2019-April/004106.html>`__ | ||
* - Portuguese (pt) | ||
StanFromIreland marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- Gustavo Toffo | ||
- | ||
* - `Brazilian Portuguese (pt-br) <https://docs.python.org/pt-br/>`__ | ||
- Rafael Fontenelle (:github-user:`rffontenelle`), | ||
Marco Rougeth (:github-user:`rougeth`) | ||
- | Rafael Fontenelle (:github-user:`rffontenelle`), | ||
| Marco Rougeth (:github-user:`rougeth`) | ||
- :github:`GitHub <python/python-docs-pt-br>`, | ||
`wiki <https://python.org.br/traducao/>`__, | ||
`Wiki <https://python.org.br/traducao/>`__, | ||
`Telegram <https://t.me/pybr_i18n>`__, | ||
StanFromIreland marked this conversation as resolved.
Show resolved
Hide resolved
|
||
`article <https://rgth.co/blog/python-ptbr-cenario-atual/>`__ | ||
* - Romanian (ro) | ||
`Article <https://rgth.co/blog/python-ptbr-cenario-atual/>`__ | ||
* - `Romanian (ro) <https://docs.python.org/ro/>`__ | ||
StanFromIreland marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- Octavian Mustafa (:github-user:`octaG-M`, `email <mailto:[email protected]>`__) | ||
- :github:`GitHub <octaG-M/python-docs-ro>` | ||
- :github:`GitHub <python/python-docs-ro>` | ||
* - Russian (ru) | ||
- Daniil Kolesnikov (:github-user:`MLGRussianXP`, `email <mailto:[email protected]>`__) | ||
- :github:`GitHub <MLGRussianXP/python-docs-ru>`, | ||
`mail <https://mail.python.org/pipermail/doc-sig/2019-May/004131.html>`__ | ||
`Original announcement <https://mail.python.org/pipermail/doc-sig/2019-May/004131.html>`__ | ||
* - `Simplified Chinese (zh-cn) <https://docs.python.org/zh-cn/>`__ | ||
StanFromIreland marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- Shengjing Zhu (:github-user:`zhsj`), | ||
Du, Meng (:github-user:`dumeng`) | ||
|
@@ -102,39 +107,160 @@ details. | |
* - `Turkish (tr) <https://docs.python.org/tr/>`__ | ||
- Ege Akman (:github-user:`egeakman`) | ||
- :github:`GitHub <python/python-docs-tr>`, | ||
`RTD <https://python-docs-tr.readthedocs.io/>`__ | ||
`RTD <https://python-docs-tr.readthedocs.io/>`__ XXX Why keep this with python build? Ask Ege | ||
* - `Ukrainian (uk) <https://docs.python.org/uk/>`__ | ||
StanFromIreland marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- Dmytro Kazanzhy (:github-user:`kazanzhy`, `email <mailto:[email protected]>`__) | ||
- :github:`GitHub <python/python-docs-uk>`, | ||
`Transifex <tx_>`_ | ||
|
||
.. _tx: https://explore.transifex.com/python-doc/python-newest/ | ||
|
||
|
||
How to get help | ||
=============== | ||
|
||
Discussions about translations occur on the Python Docs Discord | ||
If there is already a repository for your language team (there may be links to | ||
Telegrams/Discords in the ``README``), join and introduce | ||
yourself, your fellow translators will be more than happy to help! XXX sounds off | ||
General discussions about translations occur on the Python Docs Discord | ||
StanFromIreland marked this conversation as resolved.
Show resolved
Hide resolved
|
||
`#translations channel <https://discord.gg/h3qDwgyzga>`_, `translation | ||
mailing list <translation_ml_>`_, and there's a `Libera.Chat IRC | ||
<https://libera.chat/>`_ channel, ``#python-doc``. | ||
mailing list <translation_ml_>`_, and the `translations subsection <_discourse>`_ | ||
of the Python Discourse. | ||
|
||
StanFromIreland marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
Style Guide | ||
=========== | ||
StanFromIreland marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
Before translating, you should familiarize yourself with the general | ||
documentation :doc:`style guide<../style-guide>`. Some translation specific | ||
guidelines are explained below. | ||
StanFromIreland marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
|
||
Roles and links | ||
--------------- | ||
|
||
The Python docs contain many roles (``:role:`target```) | ||
to other parts of the documentation. | ||
Leave reStructuredText roles such as ``:func:`print``` or ``:ref:`some-section``` in | ||
place, even if they contain section titles, because it will break the link. | ||
If alternate text (``:role:`text <target>``` is provided, it can be translated. | ||
|
||
StanFromIreland marked this conversation as resolved.
Show resolved
Hide resolved
|
||
Links (```text <target>`_``) should be handled similarly. | ||
|
||
.. XXX do we want to switch links to target language if possible, ES translation does this (and I do too sometimes...)? | ||
|
||
.. seealso:: | ||
:doc:`../markup` | ||
|
||
|
||
Code examples | ||
------------- | ||
|
||
Translate values in code examples, that is string literals, and comments. | ||
These may be lines from Monty Python skits or other references, they are, however, | ||
sometimes obscure and lose meaning when translated, so do not feel pressured | ||
to get them perfect. | ||
|
||
.. XXX Ask EB can we do this QOL improvement?/Reword too | ||
|
||
StanFromIreland marked this conversation as resolved.
Show resolved
Hide resolved
|
||
Don't translate keywords or names, including variable, function, class, argument, | ||
and attribute names. An example of a translated codeblock from the `tutorial <https://docs.python.org/3/tutorial/controlflow.html#keyword-arguments>`_ | ||
is provided below: | ||
|
||
.. code-block:: python | ||
|
||
def cheeseshop(kind, *arguments, **keywords): | ||
print("-- Czy jest może", kind, "?") | ||
print("-- Przykro mi, nie mamy już sera", kind) | ||
for arg in arguments: | ||
print(arg) | ||
print("-" * 40) | ||
for kw in keywords: | ||
print(kw, ":", keywords[kw]) | ||
|
||
|
||
Translation quality | ||
------------------- | ||
|
||
Translators should be proficient in both English and the language they are | ||
translating to. Translators should aim for a similar level of quality as that | ||
of the English documentation. | ||
|
||
StanFromIreland marked this conversation as resolved.
Show resolved
Hide resolved
|
||
Avoid relying solely on machine translation. These tools can be useful to speed up | ||
work, but often produce inaccurate or misleading results and should be reviewed. | ||
.. XXX ask EB about permission for this section or maybe https://github.com/python/peps/pull/4296/ to ref | ||
|
||
StanFromIreland marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
Vocabulary | ||
---------- | ||
StanFromIreland marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
The documentation is full of technical terms, some are common in general | ||
programming and have translations, whereas others are specific to Python. | ||
Translations should keep the translations of these terms consistent, which is | ||
done with glossaries/translation memory. | ||
|
||
.. XXX Reword above | ||
.. XXX note that in coordinating.rst | ||
|
||
Some general guidelines for deciding on a translation: | ||
|
||
.. XXX todo (a lot) | ||
|
||
- Use existing community conventions over inventing new terms. | ||
- Use hybrid form | ||
- Use English for common terms ... maybe hard to desc this case | ||
- Use your best judgment | ||
- Use other translations for reference as to what to do | ||
StanFromIreland marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- Be careful to not translate names | ||
- Record in glossary to help peers!!!!!!!!!!!!!!!!! | ||
|
||
|
||
Dialects | ||
-------- | ||
StanFromIreland marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
Some translation receive contributions from people of many different dialects, | ||
understandably the language will differ, it is recommended however that | ||
translators try to keep files/large sections consistent. | ||
StanFromIreland marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
|
||
Transifex | ||
========= | ||
|
||
.. XXX maybe add quickstart? | ||
|
||
.. important:: | ||
|
||
There are many translations in the `python transifex <tx_>`_, some of which, | ||
however, not used anymore or do not have a coordinator, please confirm this | ||
StanFromIreland marked this conversation as resolved.
Show resolved
Hide resolved
|
||
is not the case before you begin translating. | ||
|
||
Translations on Transifex are carried out via a web interface, similar to Weblate. | ||
For further information about Transifex, and our guides on getting started, see | ||
our `documentation <https://python-docs-transifex-automation.readthedocs.io/new-translators.html>`_. | ||
.. XXX Move stuff here, discuss w Rafael? | ||
|
||
StanFromIreland marked this conversation as resolved.
Show resolved
Hide resolved
|
||
If you need help from a Transifex administrator, open an issue on the | ||
`tracker <https://github.com/python-docs-translations/transifex-automations/issues>`_. | ||
.. XXX explain that it is not same as coordinator | ||
|
||
|
||
Translation FAQ | ||
=============== | ||
|
||
Which version of the Python documentation should be translated? | ||
--------------------------------------------------------------- | ||
Which version of the Python documentation should I work on? | ||
----------------------------------------------------------- | ||
willingc marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
Consensus is to work on the current stable version. You can then propagate your | ||
translation from one branch to another using :pypi:`pomerge`. | ||
You should work on the latest branch available for you translation, the translations | ||
should then be propagated by the languages coordinator. | ||
|
||
StanFromIreland marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
How should I translate code examples? | ||
------------------------------------- | ||
The coordinator for my language is inactive, what do I do? | ||
---------------------------------------------------------- | ||
|
||
Translate values in code examples (i.e. string literals) and comments. | ||
Don't translate keywords or names, | ||
including variable, function, class, argument, and attribute names. | ||
If you would like to coordinate, follow the (necessary) steps outlined in | ||
:doc:`coordinating` and open an issue in the | ||
`EB issue tracker <https://github.com/python/editorial-board/issues>`_. | ||
|
||
.. XXX Ask EB if this is ok | ||
|
||
StanFromIreland marked this conversation as resolved.
Show resolved
Hide resolved
|
||
.. _translation_ml: https://mail.python.org/mailman3/lists/translation.python.org/ | ||
.. _discourse: https://discuss.python.org/c/documentation/translations/ | ||
.. _tx: https://explore.transifex.com/python-doc/python-newest/ |
Uh oh!
There was an error while loading. Please reload this page.