sovanna / angular-material-sidenav

Simple component that reproduce the Angular Material Style SideNav Menu from their own website
http://sovanna.github.io/angular-material-sidenav/
109 stars 55 forks source link

Multilanguage #36

Closed rala72 closed 4 years ago

rala72 commented 8 years ago

Is it possible to use for example angular-translate?

jeroen256 commented 7 years ago

Can't get it to work. Would it indeed be possible to translate the menu items using ngTranslate?

martin2630 commented 7 years ago

hi! How can i translate the items with angular-translate?

Regards!

sovanna commented 7 years ago

Hi, angular-translate is not implemented. However, you can fork the project and submit a pull-request if needed. I do not maintain this project for the moment.

jeroen256 commented 7 years ago

I was able to use ng-translate by editing the file "angular-material-sidenav.js". Change "{{section.name}}\n" to "{{section.name | translate}}\n" two times near the end of the file.

martin2630 commented 7 years ago

Awesome. This worked. Thanks @jeroen256. Regards!

rala72 commented 4 years ago

closed because there is no activity