WoodcoreMake the numbers vibe

Commands › The document and its citations

#tl-of The document and its citations

Gives a word of the data in the language given: a glossary term, else the word as it is.

#tl-of(, )

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

The essentials

The data's wordsA label of the export is German; it is translated where it is a glossary term, else kept.
Unchanged, oftenA material's name, an Excel description are not the engine's words.
Without a contextThe language is written: nothing to read in the document.

Arguments

ArgumentStatusWhat it does, and examples
The line's arguments
required
The language: "de", "fr" or "en".
#tl-of("fr", "Bezugshöhe")in French, whatever the report's language
"de"in German
required
The German word the export carries.
"Bezugshöhe"a glossary term, translated
"Fichte C24"a material's name, kept as it is

Lines to copy

Minimal call

#tl-of("fr", "Bezugshöhe")

Examples

Example 1
#tl-of("fr", "Bezugshöhe")
The page tl-of produces, level 2
Example 2
#for l in ("de", "fr", "en") [ #l: #tl-of(l, "Schneelast") \ ]
The page tl-of produces, level 2

Defined in lib/i18n.typ:195