i18n
Translations of the settings panel text (ChartDeck extra).
#Functions
#i18n.addfunction
A translation of the settings panel text: shown to users whose ChartDeck language is lang.
i18n.add(lang: const string, english: const string, translated: const string)| Parameter | Type | Description |
|---|---|---|
lang | const string | A ChartDeck language code (de, fr, ja ...). |
english | const string | The text as written in the script. |
translated | const string | The translation. |
Example
const len = input.int(20, "Length")
i18n.add("de", "Length", "Länge")Since ChartScript 1