ncuillery / angular-breadcrumb

Generate a breadcrumb from ui-router's states
http://ncuillery.github.io/angular-breadcrumb/
MIT License
786 stars 183 forks source link

Dynamic (translating) label #150

Open ghost opened 8 years ago

ghost commented 8 years ago

Is it possible to apply multi languages or like this question earlier :

https://github.com/ncuillery/angular-breadcrumb/issues/137

I tried but could find a way to translate the label....

miguelchico commented 7 years ago

Hi,

I used angular-translate to add multi language capabilities to my application and it works perfectly with breadcrumb.

The only limitation is that you have to use the built-in translate filter of angular-translate.

For example: ncyBreadcrumb: { label: "{{'item' | translate}}' }