Closed danielcrisp closed 9 years ago
It seems useTranslateService is disabled in the demo.
useTranslateService
I'm having trouble getting it working, so I just wanted to see a working example.
I've added the strings to my translations but I keep seeing [object Object]
[object Object]
$translateProvider.translations('en', { LOADING: 'Loading', reloadMessage: 'Reload message', navigateMessage: 'Navigate message' });
Probably I've got a problem somewhere else though...
I'm using this as my translation engine: https://angular-translate.github.io/
Ok figured it out, should have read the docs properly
Anyway here is a plnkr that shows it in use with:
http://embed.plnkr.co/GUeQfBWl4KMOfxXN3doR/preview
Thanks @danielcrisp
It seems
useTranslateService
is disabled in the demo.I'm having trouble getting it working, so I just wanted to see a working example.
I've added the strings to my translations but I keep seeing
[object Object]
Probably I've got a problem somewhere else though...
I'm using this as my translation engine: https://angular-translate.github.io/