From d4d8a25932b525fff2708a21e48380a09e790d5a Mon Sep 17 00:00:00 2001 From: Yohann Coppel Date: Thu, 29 Jun 2023 20:29:09 +0000 Subject: [PATCH] Add missing binaries in TRANSLATIONS.md instructions. With these instructions, I can start from a clean fork, and get running quickly. --- TRANSLATIONS.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/TRANSLATIONS.md b/TRANSLATIONS.md index 911dba8ddfe..2435212fa21 100644 --- a/TRANSLATIONS.md +++ b/TRANSLATIONS.md @@ -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