Python documentation translations are governed by PEP 545. They are built by docsbuild-scripts and hosted on docs.python.org. There are several documentation translations already in production; others are works in progress. See the dashboard for details.
Discussions about translations occur on the Python Docs Discord
#translations channel, translation
mailing list, and there's a Libera.Chat IRC channel, #python-doc.
Consensus is to work on the current stable version. You can then propagate your translation from one branch to another using :pypi:`pomerge`.
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.