How to translate this website into another language:
- Copy the folder
content/en
- it is always the most up-to-date version of the text
- Delete any pages you do not want to translate (e.g.
books
) - Auto-translate using machine translation (to save time and effort)
- Manually adjust the translation to be a human-made translation
- Translate the
i18n/en.toml
file into the new-translation language
Note: the slug:
at the top of each file -- this is the URL that the page will live under. Please avoid any diacritic there, please stick to the standard ASCII characters. Otherwise, for example, the URL will not be "Einführung" but instead "Ein%C3%BChrung".
Optionally, after:
- Paste the files into a folder named after the language's two-letter abbreviation
- Move this folder back to
content
- Move the translated
.toml
file into thei18n
folder - Open a Pull Request for this repository
Additionally, if you'd like:
- There are images that need translating in
static/img
folder (see all files that have.de.
in their name). Please translate the text from those images and share with us so we can create new images for the new language.