7

In order to populate a service with data, I would like to get all translations beneath a specific namespace from angular-translate's $translate service.

Basically what I am looking for is something like this (which is not supported):

$translate('SOME.NAMESPACE.*').then(...);

Since this does not exist, I guess my best approach at this time is to parse the fallback translation table I provide synchronously with my app myself?

Claus Conrad
  • 512
  • 7
  • 14

0 Answers0