https://github.com/python-docs-translations/python-docs-cookiecutter
Cookiecutter to boostrap a new cpython documentation translation
https://github.com/python-docs-translations/python-docs-cookiecutter
Last synced: 4 months ago
JSON representation
Cookiecutter to boostrap a new cpython documentation translation
- Host: GitHub
- URL: https://github.com/python-docs-translations/python-docs-cookiecutter
- Owner: python-docs-translations
- Created: 2018-12-09T22:10:20.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-07-24T16:28:29.000Z (over 2 years ago)
- Last Synced: 2025-08-18T22:53:30.162Z (4 months ago)
- Language: Makefile
- Size: 26.4 KB
- Stars: 9
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cookiecutter to bootstrap a new Python documentation translation
## Bootstraping a Python documentation translation
You will be asked for the language of your translation, please give an
IETF language code, lowercased, with dashes. like "pt-br", "fr", "ja",
"zh-cn", and so on.
$ git clone https://github.com/python/cpython.git
$ (cd cpython; git checkout 3.12)
$ pip install cookiecutter
$ cookiecutter https://github.com/JulienPalard/python-docs-cookiecutter
language [fr]: de
directory_name [python-docs-de]:
$ cd python-docs-de
$ git init
$ git switch -c 3.12
$ git add README.rst Makefile
$ git commit -m "Initial commit"
$ make merge
$ git add *.po */*.po