Skip to content
Translations tIn

$tIn

$tIn works like $t but starts from the language you give instead of the person’s. If that language has no text, it falls back to the variants of that language (when Use similar languages is on), then the bot’s default language, then the English safety net (en-US, en-GB). The server’s language is not used.

Syntax

$tIn[locale;key;(arguments...)]

Parameters

Parameter Description
locale One of the 32 Discord locales: id, da, de, en-GB, en-US, es-ES, es-419, fr, hr, it, lt, hu, nl, no, pl, pt-BR, ro, fi, sv-SE, vi, tr, cs, el, bg, ru, uk, hi, th, zh-CN, ja, zh-TW, ko. Short forms such as en, es, pt and zh are accepted. An unknown locale is an error.
key Translation key.
arguments Same as $t.

Return value

  • The translated, formatted text.

Examples

$tIn[fr;welcome;user=$username]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.