You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to implement on-the-fly multi-language support by changing labels.
I tried the following but it didn't work. Does anyone know a solution?
var web_text = ['label1','label2']
gui2.Register([
{
type: 'select',
label: web_text[0],
options: ["MANUAL", "AUTOGAIN", "AUTOEXPOSURE"],
onChange: (data) => {
console.log(data);
}
}
});
// other part of the code
web_text[0] = 'new label in other language'
The text was updated successfully, but these errors were encountered:
I am trying to implement on-the-fly multi-language support by changing labels.
I tried the following but it didn't work. Does anyone know a solution?
The text was updated successfully, but these errors were encountered: