WoodcoreMake the numbers vibe

Commands › The document and its citations

#set-report-language The document and its citations

Sets the language the engine prints its own words in: labels, captions, footnotes.

#set-report-language()

Hover an argument: what it does. Hover its value: every possible value. A click keeps the bubble open.

The essentials

A stateIt holds for what follows it in the document, until the next update.
At the head of the documentBefore the first thing the engine prints; the entry file writes it.
Typst's words«Figure», the hyphenation: those follow config.typ's doc-lang.

Arguments

ArgumentStatusWhat it does, and examples
The line's arguments
required
The engine's language: "de", "fr" or "en".
#set-report-language("fr")the engine writes French
"en"in English

Lines to copy

Minimal call

#set-report-language("fr")

Examples

Example 1
#set-report-language("fr")
#var("s_k", domain: ("snow-load", "SL"), level: 2)
The page set-report-language produces, level 2
Example 2
#set-report-language("en")
#include domain-file("live-load", "A1")
The page set-report-language produces, level 2

Defined in lib/i18n.typ:70