[AngularJS] Re: Accessing translations providers by a service

2016-11-29 Thread Yoav Luft @ Matific
Thank you. I've actually managed to answer most it myself, but there's still two issues: 1. I can't inject TRANSLATIONS after bootstrap. Not sure why, but it seems I might need to provide it twice and parse it twice. 2. There's an open issue on ng-xi18n not parsing code or anything

[AngularJS] Re: Accessing translations providers by a service

2016-11-28 Thread Tito
How do you determine the current locale selected? 1. From what I am reading here (https://angular.io/docs/ts/latest/cookbook/i18n.html) it seems what is parsed is what you define you want to be translated using 2. I guess you could take your json files and somehow inject them into each locale