WoodcoreMake the numbers vibe

Commands › The document and its citations

#report-lang The document and its citations

Gives the language in force here: «de», «fr» or «en».

#context report-lang()

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

The essentials

In a contextIt reads the report's language: call it in a context.
For a sentence of your ownAn if report-lang() == "de" picks a text by language.
As the engine doesWhat every show-* command reads already for its words.

Lines to copy

Minimal call

#context report-lang()

Examples

Example 1
#context report-lang()
The page report-lang produces, level 2
Example 2
#context if report-lang() == "de" [Deutsch] else [eine andere Sprache]
The page report-lang produces, level 2

Defined in lib/i18n.typ:90