Languages¶
Crucible's window ships in seven languages: English, plus French, German, Spanish, Arabic, Hebrew and Yiddish. This page is what the chooser offers, how a language is picked at launch, what changes in the window when the language reads right to left, the glossary the translations are held to, and how the catalogues are regenerated and gated.
The pipeline itself — LanguageManager, the .ts and .qm files, the shared canonical language
set — belongs to forge-gui's localisation page; Crucible reuses it rather
than carrying a second copy. What is below is Crucible's own half.
What the chooser offers¶
Settings → Appearance → Language lists System first, then the seven languages by their own names. Choosing one applies it immediately: nothing restarts, and every string in the window is re-read from the catalogue.
| Code | Language | Catalogue |
|---|---|---|
en |
English | none — the qsTr() source text |
fr |
Français | apps/crucible/ui/assets/translations/crucible_fr.ts |
de |
Deutsch | crucible_de.ts |
es |
Español | crucible_es.ts |
ar |
العربية | crucible_ar.ts |
he |
עברית | crucible_he.ts |
yi |
יידיש | crucible_yi.ts |
How the language is chosen at launch¶
Three sources, in this order; the first that names a language the app ships wins.
ICLFORGE_GUI_LOCALEin the environment. Nothing is written to the settings store when it is used, so a run under it leaves the person's own choice alone.crucible --language <code>sets it for that run: it is how a screenshot in one language is captured.- The
language/codesetting, which the chooser writes. System removes it. - The system locale, mapped to one of the seven. A locale the app does not ship falls back to English rather than to an empty window.
Right to left¶

The Room page with --language ar.
Arabic, Hebrew and Yiddish set the application's layout direction, and the window root
(apps/crucible/ui/assets/qml/Main.qml) mirrors on it: rows run right to left, anchors swap sides, the
header title sits at the right edge, and the combo-box chevrons move to the left of their
controls. Padding is outside that: neither a Text's padding nor a Control's leftPadding and
rightPadding swaps on its own, so a control padded differently on its two sides reads its own
mirrored property and swaps them itself.
Two things stay where they are:
- The markers and the speakers in the room views. The plan and the elevation are pictures of a room. L is the left speaker in every language, so anything placed at an explicit x keeps it. The rest of those views — their captions, their rows, their labels — mirrors like any other page; only the placements hold still.
- Figures. A coordinate, a bitrate or a channel count is written left to right inside a right-to-left line, which is what the bidirectional algorithm does with them.
Arabic and Hebrew script have no coverage in Archivo, the window's own face, so the two bundled
Noto Sans faces are swapped in for those three languages (font_family_for() in
apps/shared/preferences/src/language_manager.cpp, and Theme.rtlFonts, which carry the same pairing).
Two cases in apps/crucible/ui/tests/qml/tst_shell.qml hold this: the header title moves to the
right half of the window under Arabic and back under English, and the plan's L speaker stays in
the left third of the view under Hebrew.
Writing a string that can be translated¶
Every string a person reads goes through qsTr(), and each one is a whole phrase rather than a
piece of one. A line assembled at run time from pieces — qsTr("Restore ") + name — cannot be
translated: the word order, the article and the agreement all depend on what is put in the gap.
So a value goes in as a placeholder:
and a line that reads differently in two states is two whole strings rather than one string with a fragment glued on:
text: CrucibleController.objectsEnabled ? qsTr("apps → %1 · objects signed")
: qsTr("apps → %1 · 5.1 bed only")
Four more rules the window follows:
- No platform names in QML prose. Windows, PipeWire, WirePlumber, a driver, a package — the
words that are true on one platform and wrong on another come from
CrucibleControllerproperties that the platform seams fill (nullSinkName,silentDeviceAdvice,silentDeviceFromPackage,movesDefault). A sentence in QML says "the system default output", and the platform's own words arrive through a%1. - A short string carries a comment.
lupdatecopies a//:line above aqsTr()into the catalogue as an<extracomment>, which is what the translator reads. "Centre", "Put", "point" and "PIN" are verbs in this window and nouns in most dictionaries, and the comment is what says which. - A column sizes to its own heading. The endpoint table's fixed columns take the width of
their translated head (
page.pcmColumnand its neighbours inOutputPage.qml), because "PCM CH" is "PCM-KAN." in German and "قنوات PCM" in Arabic. - Anchor an overlay rather than placing it at an x. Mirroring moves an anchor and leaves an
xand a padding where they are, so an element written asx: box.width - 22sits on the right under Arabic too. Where a control's two paddings differ, choose them fromcontrol.mirrored. The combo-box chevrons inOutputPage.qmlandSettingsPage.qmlare the worked example:anchors.rightwith a margin, and acontentItemwhose left and right padding are picked bymirrored.
The glossary¶
The rule per term, applied consistently within a language. The renderings below are recommendations awaiting a reader fluent in the language: they came out of an audit of the mechanical translations, not from a native speaker, and the review pass is where each is confirmed or replaced. What is not open to preference is consistency — one rendering per term per language, whichever it turns out to be.
Never translated, in any of the six: ICL Forge, Crucible, Dolby Atmos, Atmos, Dolby Digital
(Plus), E-AC-3, AC-3, JOC, PCM, HDMI, PipeWire, WirePlumber, Windows, iclforge (lower case: the
library), the speaker abbreviations L/R/C/Ls/Rs, the bitrate labels, and 5.1 / 7.1 / 7.1.4.
German may join a brand into a compound with hyphens — Dolby-Atmos-Szene — which is that
language's own orthography and correct. The three palette names (Signal, Ink, Console) are
product names and stay as they are. A dash in the table is a term the audit made no
recommendation for; the reviewer chooses it and it goes in here.
| Term | de | fr | es | ar | he | yi |
|---|---|---|---|---|---|---|
| application | Anwendung | application | aplicación | تطبيق | יישום | אַפּליקאַציע |
| bed | Bett | lit | cama | الطبقة الأساسية | שכבת הבסיס | בעט |
| object | Objekt | objet | objeto | كائن | אובייקט | אָביעקט |
| slot | Platz | emplacement | ranura | فتحة | משבצת | שטעל |
| endpoint | Endpunkt | point de sortie | punto de salida | نقطة نهاية | נקודת קצה | ענדפּונקט |
| device | Gerät | périphérique | dispositivo | جهاز | התקן | מכשיר |
| silent device | stilles Gerät | périphérique silencieux | dispositivo silencioso | الجهاز الصامت | ההתקן השקט | דער שטילער מכשיר |
| default output | Standardausgabe | sortie par défaut | salida predeterminada | المخرج الافتراضي | פלט ברירת המחדל | דיפֿאָלט־אַרויסגאַנג |
| tap (verb, noun) | abgreifen / Abgriff | capter / prise | tomar / toma | التقاط | לכידה | אָפּנעמען / אָפּנעמער |
| pin (verb) | anheften | épingler | fijar | تثبيت | הצמדה | פֿעסטשטעלן |
| underrun | Underrun | underrun | underrun | انقطاع في المخزن المؤقت | underrun | underrun |
| receiver | Receiver | récepteur | receptor | جهاز الاستقبال | מקלט | רעסיווער |
| engine | Engine | moteur | motor | المحرك | מנוע | מאָטאָר |
| driver | Treiber | pilote | controlador | برنامج التشغيل | מנהל התקן | דרײַווער |
| signing key | Signaturschlüssel | clé de signature | clave de firma | مفتاح التوقيع | — | — |
| place (verb) | platzieren | placer | colocar | وضع | מיקום | שטעלן |
| room | Raum | pièce | sala | الغرفة | חדר | צימער |
| mode | Modus | mode | modo | نمط | מצב | מאָדוס |
| stream | Stream | flux | flujo | البث | זרם | — |
| address form | Sie | vous | tú | masculine singular imperative | plural imperative | איר |
What the audit found and the review has to settle, per language. The counts are read off the filled catalogues in this tree, so they are what a reviewer will find in the files:
- fr — "endpoint" is rendered
point de sortiein nine entries andpoint de terminaisonin two, and "receiver"récepteurin five andampliin two. "underrun" becamesous-alimentation, which is undernourishment. - es — "endpoint" is rendered
punto de salidain nine entries,punto finalin one, and baresalidaelsewhere. "underrun" becamesubdesbordamiento. - de — "silent device" is
stilles Gerät, declined to its case, in eighteen entries andstummes Gerätin two: the Advanced row's label on the Settings page (Stummes Gerät), which is also that field's accessible name, and the launch-move setting under Behaviour. "pin" is two stems for one term —anheften/Anheftungin six entries, againstFESTLEGENon the kicker andFestlegungin a sentence. - ar — "bed" is
القاعدةin thirteen entries,الطبقة الأساسيةin seven andسرير(a sleeping bed) in two. "mode" and "place" both becameوضع, so "best mode" and "place an application" read alike. "underrun" became a feeding deficiency. - he — "bed" is
מיטה, a sleeping bed, in fifteen entries againstשכבת הבסיסin seven. The address form is singular in some entries and plural in others. "Centre", the button, isמרכז, the noun, where the extracomment says it is a verb. - yi — "device" is
מכשירin twenty-eight entries andמיטל(means, medium) in five. "endpoint" isענדפּונקטin twelve andענדפּוינטin five. Compounds join with an ASCII hyphen in some entries and a maqaf (U+05BE) in others; the maqaf is the one to keep. The address form is mostlyאיר, withדוin one entry.
Regenerating the catalogues¶
lupdate reads every QML file the app lists and the tr() calls in crucible_controller.cpp,
and writes what it finds into the six .ts files:
A new or reworded string arrives as <translation type="unfinished">, holding the previous text
where there was one. LUPDATE_OPTIONS -no-obsolete on the qt_add_translations() call in
apps/crucible/CMakeLists.txt drops a string the source no longer has rather than keeping it as
translation memory: git history is the memory, and the dead-entry rule below wants the files
clean after every regeneration.
Each of the six files carries 437 messages, none marked unfinished, vanished or obsolete,
and the six hold the same set of (context, source) pairs. That is the state the gate below
enforces, so a regeneration that adds a string leaves the tree red until the new entry is
filled.
Filled is not reviewed. The renderings are machine-made and no speaker of any of the six languages has read them; the window says so in its own language note under the chooser. The glossary above is what a review holds them to.
Fill a newly extracted entry in Qt Linguist, or by editing the <translation> elements
directly; when editing by hand, remove the type="unfinished" attribute once the entry has a
rendering. Rebuild to recompile the .qm files, which are embedded as resources under :/i18n.
lupdate groups the messages by the component they came from, which is how to find a string in a
large file. The sixteen contexts in the files today are AboutDialog, AppRow, BedChip,
CrucibleController (the tr() calls in crucible_controller.cpp), FirstRunDialog,
LicencesDialog, Main, OutputPage, QObject, Room3DView, RoomKeys, RoomPage,
RoomView, RoomWords, SettingsPage and SignalPath. The position phrases live under
RoomWords since they moved out of RoomPage.qml; the renderings they had before that move are
in apps/crucible/translations/crucible_<code>.ts at commit c5c9df76, under RoomPage.
What the gate checks¶
apps/crucible/ui/tests/test_translations.cpp reads the six files and runs on every platform, in the
plain iclforge-crucible-tests binary, so a developer's own ctest sees it:
| Rule | State |
|---|---|
| Every finished translation is non-empty | live |
The %1..%9 and %n placeholders of a source all appear in its translation |
live |
| A brand term in a source appears in the translation | live |
| All six files hold the same set of (context, source) pairs | live |
No entry is left type="unfinished" |
live |
No dead entry (type="vanished" or type="obsolete") is left in a file |
live |
The last two were written idle and armed on 2026-09-06, when the catalogues were filled. The
constant kCatalogueRefilled at the top of the file is the switch, and it is now true; the two
case names no longer carry the "(idle until refilled)" caveat they were given while they tolerated
what they found. What they assert is that every entry has a translation, which is a smaller claim
than that every translation is right — the review the glossary describes is what settles that, and
arming these rules does not stand in for it.
Hearth's six catalogues (apps/hearth/ui/assets/translations/hearth_<code>.ts, 1102 messages
each) are held to the same six rules by the same file, in cases tagged [hearth][translations],
with Hearth's own list of names that are not translated (Hearth, Sendspin, Opus, IEC 61937,
Matroska, mDNS, WiFi and the formats; kHearthBrandTerms). They were the one set of the three no
case read, because the window shipped its language machinery before its translations and a case
asking for complete files would have failed from its first commit; they were filled on 2026-10-13
and that exemption is gone. The Linux Crucible pass runs [crucible],[seams] only, so these cases
run where all of ctest runs, and under ctest -L hearth on a developer's machine. Three things
are Hearth's own:
- Plural forms.
%nand%Lncount as placeholders (as%L1counts as%1), and a plural entry needs every form non-empty, the other placeholders in each form, and the count in at least one, since a form may spell out "one" in words. Ten messages of Hearth's window are plural, each with the forms its language needs (Arabic six, the other five two, from Qt's own table); a case on a made-up catalogue shows each way a plural entry can be wrong being caught. A string carries no suffix placeholder:%1 entr%2is a mistake in the source, and its cure is a%nmessage, not an exception in the gate. - English's plural file.
apps/hearth/ui/assets/translations/hearth_en.tsholds the plural messages and nothing else, two forms each, because Qt takes the form a count asks for from a catalogue and the source holds only one. The lupdate target keeps it (PLURALS_TS_FILEinapps/hearth/ui/CMakeLists.txt, which filters the file withlconvert -pluralonly), and one case holds it to the same plural messages as the six, finished, in two non-empty forms. - A floor on the count. A file that parsed to a fragment would pass every rule above, so a case asks for more than 900 messages in each file.
.github/workflows/_ci-windows.yml also runs crucible_lupdate and then
git diff --exit-code -- apps/crucible/ui/assets/translations, the way it already does for forge-gui. It
runs on the windows-msvc leg alone, because the crucible_lupdate target exists only where
Crucible is configured and the matrix build tree carries Crucible on Windows; one leg is enough,
since extraction does not depend on the compiler. It turns a forgotten regeneration into a red
check rather than a quietly stale catalogue.
lupdate sees only the platform it runs on, and deletes what it cannot see. The seams under
ui/src/platform/<os>/ are one file per platform with one compiled, so tray_support.cpp's tr()
reaches lupdate on exactly one of them. Running it on Linux drops the Windows sentence —
translated, in every catalogue — and replaces it with the Linux one, unfinished; running it on
macOS does the same with its own. Nothing warns. That the gate above runs on windows-msvc
alone is what settles it: the catalogues hold Windows' sentence, a regeneration there produces
no diff, and the other two platforms' tray sentences are simply not in them. So regenerate on
Windows, and if you regenerate anywhere else, read the diff before committing it — a - on a
translated <source> you did not touch is this, and the fix is to put the other platform's
message back rather than to accept it.
The rules that read a translation skip an entry marked unfinished. No entry is marked that way today, so the exemption applies to nothing in the tree; it is there for the window between a regeneration that extracts a string and the edit that fills it, where failing the placeholder rule on an empty entry would say nothing about the pass.
Screenshots in one language¶
--language sets ICLFORGE_GUI_LOCALE for that run only, so a capture never moves the language the
person chose. A capture runs on a settings store of its own, in a scratch folder, so it reads and
writes none of the person's settings; --app Name (once for each) puts it over a scripted machine,
which is the applications named, one pair of speakers and no silent device, with nothing opened on
the computer, so that the picture is the same on any machine and is heard on none. The documentation's
pictures are taken that way, from the command lines in tools/pictures/pictures.json:
crucible --shot crucible-room-ar.png --page room --language ar --app Hearth --app "Microsoft Edge" \
--place "Hearth=0.2,0.15,0.6" --place "Microsoft Edge=0.85,0.7,0.0"
Take it on a platform with a font that has the drop-down arrow, which the offscreen platform does not. What to look at in the result: the header title at the right edge, the page switch and the status pill on the left, the combo-box chevrons on the left of their controls, the room plan's L speaker still on the left, the endpoint table's heads unclipped, and no missing-glyph boxes in the Arabic or Hebrew text.
The other options of a capture are --page, --place, --lyrics, --size and --setting.
The pictures' README
says what each does and how the program's own pictures are taken.