l-lin / angular-datatables

DataTables with Angular
https://l-lin.github.io/angular-datatables/
MIT License
1.57k stars 481 forks source link

Translate doesn't work after add dtTrigger #1698

Closed yerzinperez closed 1 year ago

yerzinperez commented 1 year ago

:beetle: bug report

Before I add dtTrigger to get data of API, I used a json to translate the datatable and it worked. But after add dtTrigger, the translation didn't work anymore.

:microscope: Minimal Reproduction

StackBlitz/GitHub Link: https://angular-datatables-gitter-jpwywd.stackblitz.io With dtTrigger. https://angular-datatables-gitter-dzmxcx.stackblitz.io Without dtTrigger.

Step-by-step Instructions:

:8ball: Expected behavior

I expect datatables to be in Spanish even after bringing data from an API.

:camera: Screenshots

With dtTrigger (In English). image

Without dtTrigger (In Spanish). image

:globe_with_meridians: Your Environment

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 1 year ago

This issue has been closed due to inactivity. Please feel free to re-open the issue to add new inputs.