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 |
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. |
Travis CI is a continuous integration service that integrates with GitHub. Travis CI is used to ensure that a pull-request doesn't break the build or compilation. Travis CI can also provide compiled versions of the book.
Setting up Travis CI requires administrative control over the repository.
- Register a Travis account here.
- Register your project in Travis. Please refer to the Travis documentation for more information.
Travis CI works by scanning your project's root directory for a file named .travis.yml
and following the 'recipe' that it contains. The good news is: there's already a working .travis.yml
file in the Pro Git 2 source here.
Copy that file, and put it in your working directory. Commit the .yml file and push it to your translation repository; that should fire up a compilation and a check of the book's contents.
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.