CuriousLearner / python-docs-hi-in

Hindi Translations for the Python Documentation

Home Page:http://docs.python.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Translation of the Python Documentation — Hindi

image

Documentation Contribution Agreement

NOTE REGARDING THE LICENSE FOR TRANSLATIONS: 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.

Contributing to the Translation

How to Contribute

You can contribute using:

Contributing using Github

Prerequisites:

Let's start:

You'll need to fork the python-docs-hi-in clicking its Fork button. This creates a copy of the whole project on your github account: a place where you have the rights to do modifications.

Step by step:

All the translations must be made on the latest release. We never translate on an oldest version, by example, the latest python release is python 3.7, we don't want to translate directly on the python 3.5 release. If needed translations would be backported on the oldest versions by the documentation team <https://www.python.org/dev/peps/pep-8015/#documentation-team>.

Now you're ready to start a work session, each time you'll start a new task, start here:

You may have noted that this looks like a triangle, with a missing segment:

  • You're fetching from upstream (public common repo on github)
  • You're pushing to origin (your clone on github)

So yes it's the work of someone to add the last segment, from your origin to the public upstream, to "close the loop", that's the role of the people who merges pull requests after proofreading them.

You may also have noted you never ever commit on a version branch (3.6, 3.7, ...), only pull from them, consider them read-only you'll avoid problems.

What to translate

You can start with easy tasks like reviewing fuzzy entries to help keeping the documentation up to date (find them using make fuzzy).

You can also proofread already translated entries, and finally translate untranslated ones (find them using make todo)..

  • Do not translate content of :ref:... and :term:...
  • Put english words, if you have to use them, in italics (surrounded by stars).
  • If you translate a link title, please translate the link too (typically if it's Wikipedia and the article has a translation). If no translation of the target exists, do not translate the title.

Where to get help

Translation Resources

Glossary

For consistency in our translations, here are some propositions and reminders for frequent terms you'll have to translate, don't hesitate to open an issue if you disagree.

To easily find how a term is already translated in our documentation, you may use find_in_po.py.

Term Proposed Translation

-like abstract data type argument backslash bound bug built-in call stack debugging deep copy double quote e.g. garbage collector identifier immutable installer interpreter library list comprehension little-endian, big-endian mutable namespace parameter prompt raise regular expression return simple quote socket statement subprocess thread underscore expression

Simplify git diffs

Git diffs are often crowded with useless line number changes, like:

To tell git they are not usefull information, you can do the following after ensuring ~/.local/bin/ is in your PATH.

Maintenance

All those snippets are to run from the root of a python-docs-hi-in clone, and some expect to find an up-to-date CPython clone near to it, like:

To clone CPython you may use:

This avoids to download the whole history (not usefull to build documentation) but still fetches all branches.

Merge pot files from CPython

Find fuzzy strings

Run a test build locally

Synchronize translation with Transifex

You'll need the transifex-client and powrap from Pypi.

You'll need to configure tx via tx init if not already done.

About

Hindi Translations for the Python Documentation

http://docs.python.org

License:Other


Languages

Language:Makefile 100.0%