akveo / ngx-admin

Customizable admin dashboard template based on Angular 10+
https://akveo.github.io/ngx-admin/
MIT License
25.27k stars 7.96k forks source link

smart table column translate is not working with actions.columnTitle #5836

Open yutoliiho opened 3 years ago

yutoliiho commented 3 years ago

Issue type

I'm submitting a ... (check one with "x")

Issue description

Current behavior:

  actions: {
    columnTitle: this.translate.instant('function.actions'),
  },

columns: { name: {title: this.translate.instant('function.name'), // ...... },

Expected behavior:

I used this.translate.instant(''), all column headers was translated except actions.columnTitle

yutoliiho commented 3 years ago

Reopening this issue ...

action {columnTitle: this.translate.instance('...') } noDataMessage: this.translate.instance('...')

Both are not translating