The @databrainhq/plugin
package allows you to customize the language of your embedded components by passing a translation dictionary and specifying the desired language.
translation-dictionary
: A JSON object that maps keys (e.g., metric names, description, table columns, chart legends & label…etc) to their translations in multiple languages.
language
: A string representing the language code (e.g., "en"
, "fr"
, "es"
) you want to use for the component’s content.