Feedback Aide API Methods
setLabelBundle()
Override the default English(US) text labels of Feedback Aide.
You would want to call this method to apply your own localized language content.
If there are any existing interface elements already rendered, the text content of those elements will change to reflect the newly provided labels.
See Feedback Aide Internationalization for more information.
Examples
await feedbackApp.setLabelBundle({
"labels": {
"save": "保存",
"stimulus_show_less": "少なく表示",
"stimulus_show_more": "もっと見る"
}
});
Arguments
-
options object
Object containing the labels to override the default en-US labels.
-
labels object
The labels to be used for overriding the default labels.
The current list of language bundle properties are published on each release.
-
Return value
Type Promise
When the promise resolves, it will indicate that the label bundle has been set successfully.