This repository holds the Telugu (te) translation of the
Python documentation, following
PEP 545 and the
Python Developer's Guide translation process.
Status: the core resources (bugs.po, tutorial/ and builtins/functions.po)
are translated. This branch is for Python 3.15; Python 3.14 is on branch 3.14.
To get added to the language switcher on docs.python.org, these files have to be fully translated first:
bugs.po(with links pointing to this repository's issue tracker)- every file in
tutorial/ builtins/functions.po
- Fork this repository and create a branch from the branch of the Python
version you are translating (
3.15or3.14). - Pick a
.pofile (runmake todoto see what's left) and translate themsgstrentries. - Keep terms consistent with
GLOSSARY.md, and follow the code samples rule below. - Run
make wrapto rewrap the files you changed, thenmake verifs(wrapping, spelling and markup checks) before you commit. - Open a pull request.
Read the translating guide before you start.
This is the rule for the whole Telugu translation, so every page reads the same way. The devguide recommends translating comments and string literals in code examples but never names; this project translates comments only, as the Chinese, Japanese and Korean translations do.
In code samples, interactive sessions and tracebacks:
- Translate comments (the text after
#), keeping the#in the same column. - Never translate keywords or names: variables, functions, classes, arguments, attributes and modules.
- Keep in English string literals, prompts (
>>>,...), indentation, program output and error messages. A translated string would no longer match the output printed next to it, so readers would see something different from what Python prints when they run the example. - Leave as they are
#!lines,# -*- coding: ... -*-lines and commented-out code.
Changing this rule means changing it here and in
GLOSSARY.md, and applying it to every file at once.
translations.python.org measures this
translation against the latest CPython sources of each branch, so new or changed
upstream strings lower the core completion (bugs.po, tutorial/ and
builtins/functions.po) even when nothing changed here. To stay at 100%:
- Run
make mergeto update every.pofile (new strings appear untranslated, slightly changed ones as fuzzy). - Run
make coreto list the core strings that need work, and translate them. - Commit the result.
The tools need polib, potodo and powrap
(python -m pip install polib potodo powrap); powrap, used by make wrap,
make merge and make verifs, needs GNU gettext's msgcat
(apt install gettext or brew install gettext). make spell needs
pospell and the hunspell-te dictionary. On macOS, make (the HTML build)
also needs GNU coreutils (brew install coreutils). The Test workflow runs
the same core check every week and fails when upstream has moved ahead.
This repository is the source of truth and translations are made through
pull requests. If the translation is ever connected to Transifex, upload
fixes made here to Transifex (tx push -t) before the next pull from it,
otherwise the sync overwrites them.
- Discourse: Documentation › Translations
- Discord: Python Docs server,
#translationschannel
Python's documentation is maintained using a global network of volunteers. By posting this project on Transifex, Github, and other public places, and inviting you to participate, we are proposing an agreement that you will provide your improvements to Python's documentation or the translation of Python's documentation for the PSF's use under the CC0 license (available at https://creativecommons.org/publicdomain/zero/1.0/legalcode). In return, you may publicly claim credit for the portion of the translation you contributed and if your translation is accepted by the PSF, you may (but are not required to) submit a patch including an appropriate annotation in the Misc/ACKS or TRANSLATORS file. Although nothing in this Documentation Contribution Agreement obligates the PSF to incorporate your textual contribution, your participation in the Python community is welcomed and appreciated.
You signify acceptance of this agreement by submitting your work to the PSF for inclusion in the documentation.