Home Laravel Localization AngularJS $scope
Reply: 0

Laravel Localization AngularJS $scope

user558
1#
user558 Published in May 21, 2018, 4:47 pm

In my view I'm returning data fom AngularJS $scope using following syntaxis @{{item.status}}
$scope contains following strings: -1,0,1,2
I have no problem localize default strings but how can I localize $scope? Read Laravel documentation and found nothing...
Btw I'm using mcamara localization package

Tried this

 {{ __('auth.-1',['item.status' => @{{item.status}}]) }}
 {!! __('auth.@{{item.status}}') !!}
 {{ __('auth.@{{item.status}}') }}
 @lang('auth.@{{bet.status}}')
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.628487 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO