Open yarikmlb opened 7 years ago
I need to change value.text with ng2-translate library. How can I do it? My project has two languages Dutch and English.
value.text
yourarray.forEach(function (item) { translate.get(item.TEXT).subscribe(result => { item.TEXT= result; }); })
then push it to your selectItemArray {id: item.ID, text: item.TEXT}
I need to change
value.text
with ng2-translate library. How can I do it? My project has two languages Dutch and English.