init({
thoughtSpotHost: "https://<hostname>:<port>",
customizations: {
content: {
strings: {
"Liveboard": "Dashboard",
"Edit": "Modify",
"Show underlying data": "Show source data",
"SpotIQ": "Insights",
"Monitor": "Alerts",
"Worksheets": "Data model"
}
}
}
});
Customize text strings
You can customize text strings on the ThoughtSpot application interface via customizations
object in the SDK.
Example🔗
Try it out in the Visual Embed Playground to preview the customization.
Limitations🔗
Note the following limitations:
-
The text strings are case-sensitive.
-
Customization of user-defined text strings such as object names, title, or description text is not supported.
-
The latest entry in the
strings
object takes precedence over other substring overrides. For example, if theLiveboard
text string is defined asDashboard
and the next substringPin to Liveboard
is defined asSave
, all instances ofLiveboard
will change toDashboard
, butPin to Liveboard
will be customized asSave
.customizations: { content: { strings: { "Liveboard": "Dashboard", "Pin to Liveboard": "Save", } } }
However, if the order of the string changes as shown in the following example, the later string customization entry will take precedence; which means that the second entry
"Liveboard": "Dashboard"
will drive the original copy in ThoughtSpot’s user interfacePin to Liveboard
to be customized asPin to Dashboard
, and the string customization"Pin to Liveboard": "Save"
will be ignored.customizations: { content: { strings: { "Pin to Liveboard": "Save", "Liveboard": "Dashboard", } } }