Essentials

Source Repositories

Documentation

Get Involved

Subprojects

Related Projects

Miscellaneous

Translating the Documentation

Thank you for considering a translation contribution! Translations make the Apache HTTP Server documentation accessible to millions of non-English-speaking administrators worldwide.

Before you begin, please:

  1. Read the general documentation project information.
  2. Subscribe to the docs mailing list.
  3. Introduce yourself — let us know which language you'll be working in. There may already be a team for your language who can help coordinate.

Getting Started

1. Set Up Your Checkout

Check out the documentation source and build tools as described in the Git workflow page.

Start your translations in trunk. Changes can be backported to the 2.4.x branch afterward.

2. Choose a File to Translate

Check the translation status to see what's already been translated and what's needed.

Pick an untranslated file — for example, suppose you want to translate configuring.xml into Spanish.

3. Create Your Translation File

Copy the English source file, adding your two-letter language code as a file extension:

cp configuring.xml configuring.xml.es

4. Translate

Open the new file in your editor and:

5. Submit Your Translation

Open a pull request against apache/httpd with your new file (see the Git workflow). A committer will review it and merge it. Over time, you may gain commit access yourself.

Review Standards

Because the development team can't easily verify non-English content, we require that all translations be reviewed by another fluent speaker of the language before acceptance. Each commit message should name both the translator and the reviewer.

We encourage you to place credits in a comment at the top of the file:

<!-- =============================================
     Translated by: Your Name <email>
     Reviewed by: Reviewer Name <email>
     ============================================= -->

The build system tracks the SVN revision of the equivalent English version, so future translators know where to start updating.

Maintaining Translations

Once your initial translation is committed, the ongoing work is keeping it up to date as the English source evolves. Here's a practical workflow for tracking changes and updating your translated files.

The Basic Idea

The English documentation changes over time — bugs get fixed, features get documented, examples get improved. As a translator, you need to:

  1. Detect which English files have changed since you last translated
  2. See what specifically changed
  3. Apply the equivalent changes to your translated files
  4. Verify your work builds correctly

Set Up Your Working Environment

Check out both active branches, httpd-trunk and httpd-2.4, as described in the Git workflow page.

Track Changes with Git

The simplest way to see what's changed since a known commit is git diff between commits. If you noted that you last synchronized your translation at commit abc1234, you can see all changes since then:

git log abc1234..HEAD -- docs/manual/mod/mod_rewrite.xml
git diff abc1234..HEAD -- docs/manual/mod/mod_rewrite.xml

Tip: Note the current commit each time you finish updating a translation (git log -1 --format=%h -- docs/manual/mod/mod_rewrite.xml). Add it as a comment at the top of your translated file:

<!-- English Revision: abc1234 -->

This makes it easy to check what's changed next time:

git diff abc1234..HEAD -- docs/manual/mod/mod_rewrite.xml

Update Your Translation

With the diff output showing what changed in the English source, apply the equivalent changes to your translated file. Focus on:

Verify Your Work

Build the docs to confirm your XML is valid and the output looks right:

cd docs/manual/build
./build.sh validate-xml
./build.sh <your-language-code>

Open the generated HTML in a browser to review the final result.

Submit Your Updates

Commit your updated files on a branch and open a pull request against apache/httpd, as described in the Git workflow.

Staying in Sync

A few habits that make maintenance easier:

Questions?

If you get stuck or have questions about translating or maintaining translations, reach out to docs@httpd.apache.org. We're happy to help.