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.
langrequiredThe engine's language: "de", "fr" or "en".
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
| Argument | Status | What 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
#set-report-language("fr")
#var("s_k", domain: ("snow-load", "SL"), level: 2)#set-report-language("en")
#include domain-file("live-load", "A1")Defined in lib/i18n.typ:70