I am looking to implement localization in an app I am currently developing using Angular Translate.
Here is a snippet of my code:
<p class="md-caption" translate="vm_stats_score"></p>
My goal is to assign this to an ID required by Angular Translate. However, when I try the following:
$translateProvider.translations('en', {
vm_stats_score: 'Today from {{::vm.stats.votes}} votes'
});
The desired binding value does not get included as expected.
Can anyone advise me on the correct approach for achieving this?