Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

125
Views
Angular Translations Ngnx

I have translations (ngnx/translate) enabled in my new Angular app, everything works fine. Except now I want to enable the translations in the navigation bar & I can't get it to work.

nav.component.html

<mat-toolbar class="toolbarNav">
<a *ngFor="let link of LINKS" class="text-center" routerLink="/{{ link.route }}"><i class="fa fa-{{ link.icon }}"></i><p class="small mb-0">{{ link.label | translate }}</p></a>
</mat-toolbar>

nav.component.ts

export class NavbarComponent {
LINKS = [
{"label":"Home","icon":"home","route":"dashboard"},
{"label":"Diary","icon":"book","route":"dashboard"},
{"label":"Lines","icon":"plus","route":"lines"},
{"label":"Search","icon":"search","route":"dashboard"},
{"label":"Settings","icon":"user","route":"dashboard"}
  ];
}

The translate pipe is not working, it still just shows the EN text.. anyone?

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!