The translations are managed in a decentralized way. Each translation team maintains their own project. Each translation is in its own repository, the Pro Git team simply pulls the changes and builds them into the https://git-scm.com website when ready.
Pro Git is a book about a technical tool, therefore translating it is difficult compared to a non-technical translation.
The following are guidelines to help you on your way:
- Before you begin, read the whole Git Pro book in English, so that you're aware of the content, and are familiar with the style used.
- Ensure you have a good working knowledge of git, so that explaining the technical terms is doable.
- Stick to a common style and format for the translation.
- Be sure to read and understand the basics of Asciidoc formatting. Not following the asciidoc syntax can lead to problems with building/compilation of the pdf, epub and html files needed for the book.
- Check for an already existing project in the following table.
- Go to the project's page on GitHub.
- Open an issue, introduce yourself and ask where you can help.
Language | GitHub page |
---|---|
العربية | progit2-ar/progit2 |
Беларуская | progit/progit2-be |
български език | progit/progit2-bg |
Čeština | progit-cs/progit2-cs |
English | progit/progit2 |
Español | progit/progit2-es |
فارسی | progit2-fa/progit2 |
Français | progit/progit2-fr |
Deutsch | progit/progit2-de |
Ελληνικά | progit2-gr/progit2 |
Indonesian | progit/progit2-id |
Italiano | progit/progit2-it |
日本語 | progit/progit2-ja |
한국어 | progit/progit2-ko |
Македонски | progit2-mk/progit2 |
Bahasa Melayu | progit2-ms/progit2 |
Nederlands | progit/progit2-nl |
Polski | progit2-pl/progit2-pl |
Português (Brasil) | progit/progit2-pt-br |
Русский | progit/progit2-ru |
Slovenščina | progit/progit2-sl |
Српски | progit/progit2-sr |
Svenska | progit2-sv/progit2 |
Tagalog | progit2-tl/progit2 |
Türkçe | progit/progit2-tr |
Українська | progit/progit2-uk |
Ўзбекча | progit/progit2-uz |
简体中文 | progit/progit2-zh |
正體中文 | progit/progit2-zh-tw |
If there is no project for your language, you can start your own translation.
Base your work on the second edition of the book, available here. To do so:
- Pick the correct ISO 639 code for your language.
- Create a GitHub organization, for example:
progit2-[your code]
on GitHub. - Create a project
progit2
. - Copy the structure of progit/progit2 (this project) in your project and start translating.
On https://git-scm.com, the translations are divided into three categories. Once you have reached one of these levels, contact the maintainers of https://git-scm.com/ so that they can pull the changes.
Category | Completion |
---|---|
Translation started for | Introduction translated, not much else. |
Partial translations available in | up to chapter 6 has been translated. |
Full translation available in | the book is (almost) fully translated. |
GitHub Actions is a continuous integration service that integrates with GitHub. GitHub Actions is used to ensure that a pull-request doesn't break the build or compilation. GitHub Actions can also provide compiled versions of the book.
The configuration for GitHub Actions is contained in the .github/workflows
directory, and if you bring in the main
branch of the root repository you'll get them for free.
However, if you created your translation repo by forking the root repo, there's an extra step you must complete (if you did not fork, you can skip this part).
GitHub assumes that forks will be used to contribute to the repo from which they were forked, so you'll have to visit the "Actions" tab on your forked repo, and click the "I understand my workflows" button to allow the actions to run.
This is a technical task, please ping @jnavila to get started with epub publication.
Translating the book is the first step. Once this is finished, you could consider translating the user interface of Git itself.
This task requires a more technical knowledge of the tool than the book. Hopefully, after having translated the full book content, you can understand the terms used in the application. If you feel technically up to the task, the repo is here and you just have to follow the guide.
Beware though that
- you'll need to use more specific tools to manage localization po files (such as editing them with poedit) and merging them. You might need to compile git in order to check your work.
- a basic knowledge of how translating applications works is required, which is significantly different from translating books.
- the core Git project uses more stringent procedures to accept contributions, be sure to abide by them.