Skip to contents

Low-level translator. Most users should rely on the lang argument of the functions instead of calling this directly.

Usage

lcz_tr(key, lang = NULL, ...)

Arguments

key

Message key, e.g. "msg_files_saved".

lang

Language code. Defaults to the session language.

...

Named values used to fill {placeholders} in the template.

Value

A character string. Unknown keys return the key itself, which makes missing translations easy to spot during development.

Examples

lcz_tr("msg_files_saved", path = "LCZ4r_output", lang = "pt")