Open Closed

Localization Warnings in Console on Angular App #5910


User avatar
0
SamirBoutazzout created

Hi guys, I need help with console warnings with regard to Localization issue on Angular. The localization is working well, but I don't why I have a lot of warnings on the console as shown in the attached image. I tried googling but to no avail.

  • ABP Framework version: v6.0.2 Commercial
  • UI Type: Angular
  • Database System: EF Core (PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): Auth Server Separated

4 Answer(s)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello SamirBoutazzout,

    I think you missed to add :: wherever you used | abpLocalization that's why it is throwing error. Please check just like in below screenshot

    for another error please have look to this similar issue https://support.abp.io/QA/Questions/4875 Please do let me know if anything else needed

    Thank you, Anjali

  • User Avatar
    0
    SamirBoutazzout created

    Hello SamirBoutazzout,

    I think you missed to add :: wherever you used | abpLocalization that's why it is throwing error. Please check just like in below screenshot

    for another error please have look to this similar issue https://support.abp.io/QA/Questions/4875 Please do let me know if anything else needed

    Thank you, Anjali

    Thank you very much indeed for your response. I am actually using the localization pipe in the html components and it's working fine. The console warnings are coming from the routes provided in the specified components, here is an example of the part of the code that is triggering the warning:

    As it is auto generated by abp, I don't know where cause the issue causing this be.

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello SamirBoutazzout,

    I am not able to reproduce the issue is it possible to share a sample solution with this issue to support@abp.io with ticket id.

    regards, Anjali

  • User Avatar
    0
    SamirBoutazzout created

    Hello SamirBoutazzout,

    I am not able to reproduce the issue is it possible to share a sample solution with this issue to support@abp.io with ticket id.

    regards, Anjali

    Thank you very much for the assistance. I will see if I can re-create this issue in a sample solution.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 05, 2024, 12:19