Skip to content

Commit

Permalink
Add missing binaries in TRANSLATIONS.md instructions.
Browse files Browse the repository at this point in the history
With these instructions, I can start from a clean fork, and get running
quickly.
  • Loading branch information
yohcop committed Jun 29, 2023
1 parent 0c867c9 commit d4d8a25
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions TRANSLATIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,24 @@ GNU Gettext utilities below.

## Preparation

We use two helpers for the translations:
You will need the [Gettext] utilities (`msginit`, `msgmerge`). Under Ubuntu, you
can install with:

```shell
$ sudo apt install gettext
```

We use `mdbook` and two helpers for the translations:

- `mdbook-xgettext`: This program extracts the English text. It is an mdbook
renderer.
- `mdbook-gettext`: This program translates the book into a target language. It
is an mdbook preprocessor.

Install both helpers with:
Install everything with:

```shell
$ cargo install mdbook-i18n-helpers
$ cargo install mdbook mdbook-i18n-helpers
```

## Creating and Updating Translations
Expand Down

0 comments on commit d4d8a25

Please sign in to comment.