Translates text into a language determined by the current testing session.
Translation is carried out using a dictionary defined at test creation
The function can typically only be used within a call
new_timeline, which defines the dictionary
in which to look up
i18n outside this context will typically result in an error.
i18n(x, html = TRUE, sub = character())
Character scalar identifying the term to be translated.
Boolean; whether or not the translation output should
be parsed as HTML or as plain text (the default is
A named character vector or list defining substitutions
to make within the translation output. The text of the translation output
may contain passages such as
The translated output, typically a character scalar