0

アプリで動的変数を変換する方法がわかりません。

現在、静的 json ファイルにレポートの説明があります。そのコンテンツをループして、HTML ファイルで文字列補間を使用しています。select ICU 式を使用せずに @angular/localize で補間された文字列を翻訳する方法はありますか?

<ng-container style="display: none;" *ngFor="let report of reports">
<tr>
 <td width="80%" class="colThree" i18n="reportDesc">
   {{report.ReportDescription}} //need translate
  </td>
  </tr>
</ng-container>
4

0 に答える 0