fundamental-ngx icon indicating copy to clipboard operation
fundamental-ngx copied to clipboard

fdp-table header empty with i18n package

Open JohnHavok opened this issue 10 months ago • 1 comments

Is this a bug, enhancement, or feature request?

bug ?

Describe your proposal.

I've been using fundamental since version ~0.8.
I have a well-known library that handles i18n: ngx-translate in association and have never had any problems since.

Since the switch to angular 17 (with the versions requested by fundamental). The header of my fdp-table is empty. At first, I thought it was a ngx-translate problem. I then tested with transloco, another i18n library, and the same problem was observed: my fdp-table headers are empty. No text is displayed. All other text is well displayed and translated in any other fundamental component. I don't know if it's due to the initialization of the fdp-table component that's causing this problem. Or something else. (In the stackblitz, used as an example, all headers are translated (but not displayed) and so is the "Order Line Items" (no problem for it)).

Which versions of Angular and Fundamental Library for Angular are affected? Please, specify the exact version. (If this is a feature request, use current version.)

  • Angular version: 17.3.0
  • Fundamental version: 0.49.2

If this is a bug, please provide steps for reproducing it; the exact components you are using;

Any project with angular 17, fundamental and either the i18n transloco or ngx-translate package

Please provide stackblitz example(s).

Did you check the documentation and the API?

Yes

Did you search for similar issues?

Yes

JohnHavok avatar Apr 03 '24 09:04 JohnHavok