I'm new to Angular, I'm using ngx-translate all over my app and it is working fine however, I'm not able to figure out how to translate dynamic data even after searching all over the internet I couldn't quite understand how to achieve this, below is what I've tried, your assistance is much appreciated.
en.json
"STATUS_ACTIVE": "Active"
employees.component.html
<tbody>
<ng-container *ngFor="let item of employees">
<tr *ngFor="let employeeStatus of item.employeeJobStatuses">
<td>{{ item.firstName_FL }}</td>
<td>{{ item.position.name_FL }}</td>
<td>{{ item.hiringDate | date }}</td>
<td>{{ item.firstContractingSalary }}</td>
<td>{{ (employeeStatus.status) | translate }}</td>
<td>
<div class="btn-group">
<p><i type="button" (click)="editEmployee(item.id)" class="fa fa-pencil-square-o"></i></p>
<p class="action-center" translate>employees.terminate</p>
<p translate>employees.suspend</p>
</div>
</td>
</tr>
</ng-container>
</tbody>
Please help me out translate employeeStatus.status