[keycloak-dev] Re: Angular Translate from controllers and services

Michael Gerber gerbermichi at me.com
Wed Nov 18 04:58:51 EST 2015


$translate.instant('label') 

You can find the doc here:
https://angular-translate.github.io/docs/#/api/pascalprecht.translate.$translate

Am 18. November 2015 um 10:26 schrieb Stian Thorgersen <sthorger at redhat.com>:

There are no examples on how to use translations from within services and controllers.

$translate('label') doesn't work as it just returns a promise.
_______________________________________________
keycloak-dev mailing list
keycloak-dev at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-dev/attachments/20151118/9f5badbd/attachment.html 


More information about the keycloak-dev mailing list