Skip to content
ChartDeck ChartScript docs Account Open the terminal

CS2719

hint No lang translation for "text".

#What it means

This is a hint. The script adds translations with i18n.add, but one text of the settings panel has no translation for the language named in the message. That text will show in English for those users.

#Typical cause

  • A new input title added after the translations were written.

#How to fix it

Add an i18n.add line for the text, or ignore the hint if English is fine there.

#Example

ChartScriptWarning: CS2719
//@chartscript 1
indicator("Translated")
const len = input.int(14, "Length")
const src = input.source(close, "Source")
i18n.add("de", "Length", "Länge")
plot(ta.sma(src, len))

Fixed

ChartScriptOpen in editor
//@chartscript 1
indicator("Translated")
const len = input.int(14, "Length")
const src = input.source(close, "Source")
i18n.add("de", "Length", "Länge")
i18n.add("de", "Source", "Quelle")
plot(ta.sma(src, len))
  • CS2014 — value is not one of the allowed values: options.

The ChartScript documentation is in English for now; translations will follow.