angular-translate-loader-pluggable icon indicating copy to clipboard operation
angular-translate-loader-pluggable copied to clipboard

Using $translate service w/ translatePluggableLoader

Open michael-mccoy opened this issue 8 years ago • 1 comments

Hello - I'm having issues using this plugin with $translate service, (specifically $translate.instant()). The translations table seems to be empty even though it should have already been loaded. Any suggestions so I can continue to use $translate.instant()?

I've created this Plunker demonstrating the issue: http://plnkr.co/edit/xeTeMpUwiI4C07RaVeUd?p=preview

michael-mccoy avatar Sep 21 '15 21:09 michael-mccoy

Hi, yep, I know there's currently an issue when using .instant() which doesn't seem to work. Apparently angular-translate handles .translate() calls differently from .use() ones. I have to investigate into this.

Thank you for creating the Plunker to demonstrate the issue. I'm currently in vacation but will handle this issue as soon as I return. I'll update you as soon as I got a solution for this. If you can identify the issue in the mean time and submit a PR that fixes it, even better :wink:

juristr avatar Sep 21 '15 22:09 juristr