WoodcoreMake the numbers vibe

Commands › The document and its citations

#report-language The document and its citations

The state holding the report's language; every word of the engine follows it, the engineer's prose does not.

#context report-language.get()

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.
Read in a context#context report-language.get() gives «de», «fr» or «en».
Written by a command#set-report-language changes it; it is not updated by hand.

Lines to copy

Minimal call

#context report-language.get()

Examples

Example 1
#context report-language.get()
The page report-language produces, level 2
Example 2
#set-report-language("fr")
#context [Die Engine schreibt in #report-language.get().]
The page report-language produces, level 2

Defined in lib/i18n.typ:50