문제

I want to create a directive / component which will provide it's own translations to the translate provider. So I wonder if there is a way to manipulate/add keys to the translationTable object within directive. Something like $translatePartialLoader.addPart('{ "MY_TEST_VAR": "This is test"}') to the preferred language.

도움이 되었습니까?

해결책

Currently there is a discussion about it at
https://github.com/angular-translate/angular-translate/issues/316.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top