Basically the title; searching the docs for “language” or “document language” did not yield anything useful. How can I specify the language of my document, so that e.g. hyphenation is done correctly?
The text function has a parameter lang, with which you can set it for either parts of the document or the whole document.
For example:
#set text(
lang: "de"
)
Here a link to the documentation: Text Function – Typst Documentation