All translations are up to date.
How to translate
We want this website to be available in as many languages as possible. For this to happen, we need your help. Helping out with translation of the content (or just parts of it) is nothing more remarkable than reading it in English and writing it in your language.
The code and content is organized in a repository on GitHub. If that confuses you, do not worry, we will be able to walk you through the translation work even if you know nothing about building websites. If you know your way around code, you should be able to just start reading the instructions below.
On the other hand, if you do not want to be near the ins and outs of the website, just send an email or post a message in our discussion group. Let us know what language you want to translate to and we will help you out. It may turn out others have already posted their interest in the same language, then you can work in a team and get it done much faster.
Creating a new translation
- Create a new directory in the site root and name it with an IETF language code, for example sv-SE.
- Copy index.html from the site root to the new directory.
- Translate the variables in the top section of the new index.html:
- Translate the rest of the document, leaving all HTML as is. Internal links (starting with #) should be translated as well, and be based on the title of the linked question. These “slugs” are constructed by lowercasing the title, replacing all spaces with dashes, and converting all special character to ASCII. An easy way is to use an online slug generator, like this one.
- If you are on GitHub, push your translation to a new branch and open a pull request. More info on how this works is in the GitHub documentation.
- If not, just zip your new translation directory and send it to [email protected].
Updating an existing translation
On the top of this page there will be a list of translations that need updating, and a link to a diff showing what has changed since that language was last updated. With this information, you can make the necessary changes in the translation:
- Make sure you have the latest version of the website, by syncing your local copy with the main repository.
- Edit index.html in the language directory, updating it according to the latest version of the original.
- Open _config.yml and copy the value of latest_commit.
- Change the value of the based_on_commit variable in your translation by pasting the copied value from the previous step.
- Open a pull request for your update, or send it by email.
As soon as your updated translation makes it to the live site, the “update needed” notice on the top of this page will go away.