-
-
Notifications
You must be signed in to change notification settings - Fork 17
Improve README #147
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
Improve README #147
Changes from 14 commits
130bea7
2691316
ad998a6
43d6848
9bb722e
5570480
983514c
ae40359
037dc46
2ac0299
bf3389f
77fbefc
0886322
e705447
5fb81dc
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 |
|---|---|---|
|
|
@@ -25,68 +25,115 @@ f'''[* | ||
|
|
||
| **I found a mistake, what do I do?** | ||
| ### How do I check what needs translating? | ||
|
|
||
| If you find a mistake or have a suggestion, | ||
| [let us know](https://github.com/python/python-docs-pl/issues) or fix it yourself: | ||
| Use the [`potodo`](https://pypi.org/project/potodo/) package. Run it in the project's root directory, | ||
| for example: `uvx potodo`. | ||
|
|
||
| * Go to the website of the project [Python Documentation](https://explore.transifex.com/python-doc/python-newest/). | ||
| * Click the button "Join this project", to join the Project. | ||
| If you are interested in the core articles, use filtering. For example: | ||
|
|
||
| ``` | ||
| $ uvx potodo --exclude '**/*' '!tutorial/*' '!bugs.po' '!library/functions.po' | ||
| 1 directory 99.68% done | ||
| └── python-docs-pl/ 99.68% done | ||
| ├── library/ 98.61% done | ||
| │ └── functions.po 99.0% translated 535/536 | ||
| └── tutorial/ 100.00% done | ||
| ``` | ||
|
|
||
| Suggested priority resources for translation can be found in [issue #50](https://github.com/python/python-docs-pl/issues/50). | ||
|
|
||
| ### How do I translate? | ||
|
|
||
| * Go to the [Python Documentation project](https://explore.transifex.com/python-doc/python-newest/) on Transifex. | ||
| * Click the "Join this project" button. | ||
| * Create an account on Transifex. | ||
| * On the project website pick the language Polish. | ||
| * After joining the Project, pick the category you want to fix/translate. | ||
| * Select Polish on the project page. | ||
| * After submitting your request to join the team, introduce yourself on | ||
| the [Python Polska `#dokumentacja` Discord channel](https://discord.gg/VCyBDGH38e). | ||
| This will help us approve your request sooner. | ||
| * After joining the team, select the resource you want to improve or update. | ||
| * Get familiar with [reStructuredText syntax](https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html), | ||
| the documentation format. | ||
| * You can find more information about using Transifex in [their help articles](https://help.transifex.com/en/articles/6318216-translating-with-the-web-editor) | ||
| or [our guide](https://python-docs-transifex-automation.readthedocs.io/new-translators.html). | ||
|
|
||
| ### How do I check my changes locally? | ||
|
|
||
| [Install the Transifex CLI](https://github.com/transifex/cli#installation) and save your | ||
| [Transifex API token](https://help.transifex.com/en/articles/6248858-generating-an-api-token) to `~/.transifexrc` so that you | ||
| can download changes from Transifex. Download the changed chapter, for example: | ||
|
|
||
| ``` | ||
| $ tx pull --languages pl python-newest.library--turtle | ||
| # Getting info about resources | ||
|
|
||
| You can find more information about using Transifex | ||
| in [their help articles](https://help.transifex.com/en/articles/6318216-translating-with-the-web-editor) or [our guide](https://python-docs-transifex-automation.readthedocs.io/new-translators.html). | ||
| python-newest.library--turtle - Done | ||
| [##############################] (1 / 1) | ||
|
|
||
| **I want to start translating, but I don't know where to start!** | ||
| # Pulling files | ||
|
|
||
| Firstly, you can join as a translator by following the steps outlined above. | ||
| python-newest.library--turtle [pl] - Done | ||
| [##############################] (1 / 1) | ||
| ``` | ||
|
|
||
| Then you can start by translating one of our [prioritized resources](https://github.com/python/python-docs-pl/issues/50). | ||
| Run [`sphinx-lint`](https://pypi.org/project/sphinx-lint/) to check your changes, for example: | ||
|
|
||
| **How to see the newest build of the documentation?** | ||
| ``` | ||
| $ uvx sphinx-lint library/turtle.po | ||
| No problems found. | ||
| ``` | ||
|
|
||
| ### How do I see the latest build of the documentation? | ||
|
|
||
| Download the latest build from the list of artefacts in the latest GitHub Action (Actions Tab). | ||
| Translations are pulled from Transifex around every half hour. | ||
| Translations are pulled from Transifex around once an hour. | ||
| The documentation at https://docs.python.org/pl/ is updated around once daily. | ||
|
|
||
| **Communication Channels** | ||
| ### How do I build the documentation? | ||
|
|
||
| [See devguide's instructions.](https://devguide.python.org/documentation/translations/translating/#how-do-i-build-a-docs-translation) | ||
|
|
||
| ### Communication channels | ||
|
|
||
| * [Discord Python Polska #dokumentacja](https://discord.gg/QB3h2Sxc) | ||
| * [Python Documentation Community](https://docs-community.readthedocs.io/) | ||
| * [Python Documentation Special Interest Group](https://www.python.org/community/sigs/current/doc-sig/) | ||
|
|
||
| **Translation progress** | ||
| ### Translation progress | ||
|
|
||
| <img src="translation_progress_en.svg" alt="Translation progress"> | ||
| <img src="translation_progress_en.svg" alt="Translation progress"> | ||
|
|
||
| <!--- | ||
| Excludes the changelog from calculations. | ||
| Made using: https://gist.github.com/StanFromIreland/ce400e0d497018fc8e8eb6b739e0b8eb | ||
| ---> | ||
|
|
||
| **License** | ||
| ### License | ||
|
|
||
| By inviting you to work on a project on the Transifex platform, we offer a contract for | ||
| donating your translations to the Python Software Foundation | ||
| [under the CC0 license](https://creativecommons.org/publicdomain/zero/1.0/deed.pl). | ||
| In return, it will be visible that you are the translator of the part you translated. | ||
| You signify your acceptance of this agreement by submitting your work for inclusion in the documentation. | ||
|
|
||
| **Updating Translations** | ||
| ### Repository updates | ||
|
|
||
| * `./manage_translation.py recreate_tx_config` | ||
| * `./manage_translation.py fetch` | ||
| * `cog -rP README.en.md` | ||
|
|
||
| **Useful Materials** | ||
| ### Useful materials | ||
|
|
||
| * [Python Developer's Guide: Translating](https://devguide.python.org/documentation/translations/translating/) | ||
| * [Python docs Transifex: Documentation](https://python-docs-transifex-automation.readthedocs.io/) | ||
| * [Site Statistics](https://analytics.python.org/docs.python.org?f=contains,page,/pl/) | ||
|
|
||
| **Similar Translation Projects** | ||
| ### Similar projects | ||
|
|
||
| * [Projects of the Python Packaging Authority](https://hosted.weblate.org/projects/pypa/-/pl/) | ||
| * [Scientific Python Translations](https://scientific-python-translations.github.io/) | ||
| * [micro:bit translation programme](https://microbit.org/translate/) | ||
| * [Sphinx translation](https://www.sphinx-doc.org/en/master/usage/advanced/intl.html#contributing-to-sphinx-reference-translation) | ||
| * [Localizing Django](https://docs.djangoproject.com/en/dev/internals/contributing/localizing/) | ||
| * [friendly-traceback: notes on translations](https://friendly-traceback.github.io/docs/translation_notes.html) | ||
|
Member
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 doesn't fall under "Similar projects" and also doesn’t really seem relevant here for translators, as we use TX. So I suggest dropping it.
Collaborator
Author
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. In my opinion it is similar conceptually, as it's Python-related localisation, lowers entry barrier, and can be used in education (see micro:bit; hopefully we can add turtle-translations soon here too); I'm fine to put it in a separate follow-up PR
Collaborator
Author
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. Removed from here to limit scope |
||
Uh oh!
There was an error while loading. Please reload this page.