~reviewer/hello-hut-wiki

Table of Contents

  1. Translating hello-hut

#Translating hello-hut

Greetings live in src/hello_hut/translations.py (on the next branch until 0.3.0). Each entry maps a language code to a salutation:

TRANSLATIONS = {
    "en": "Hello",
    "fr": "Bonjour",
}

To add a language:

  • [ ] Add one line to TRANSLATIONS, keeping the table sorted
  • [ ] Add a case to tests/test_cli.py
  • [ ] Send the patch to the devel list

Current languages: Arabic (مرحبا), German, English, Spanish, French, Japanese (こんにちは), Portuguese, Swedish and Turkish.

Back to the index.

About this wiki

commit d3d8e06c681204d511ae0010fefed9b549ba02ed
Author: Noor Haddad <noor@example.org>
Date:   2026-10-09T13:25:00+03:00

Add a page for translators
Clone this wiki ("main" branch)
https://git.hut.md/~reviewer/hello-hut-wiki (read-only)
git@git.hut.md:~reviewer/hello-hut-wiki (read/write)