Within my application, I am retrieving translation keys from a single cell within a database table and dynamically displaying them on a settings page. While most entries will have just one key in the display object, there are some that contain multiple keys.
I am wondering if there is a method in angular-translate to allow one element to host and translate multiple keys?
en.json={"title1":"balance","title2":"other stuff"}
ctrl.list=[{display:"title1 title2"}]
<tbody class="validation-table-body">
<tr ng-repeat="entry in ctrl.list">
<td class="validation-name" >
{{entry.display | translate}}
</td>
</tr>
</tbody>
Currently displayed:
<td>title1 title2</td>
Expected output:
<td>balance other stuff</td>
Before attempting to add additional formatting, I am simply focused on getting this functionality to work properly.