Home Laravel Localization AngularJS $scope
Reply: 0

Laravel Localization AngularJS $scope

qqmydarling Published in 2018-02-13 20:07:29Z

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}}') }}
You need to login account before you can post.

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

© 2016 Powered by mzan.com design MATCHINFO