I want to use ngx-translate in my frontend to dynamically load translations on app load.
My backend returns a response in JSON format, ex:
{
"something: "something"
}
I want to use that output on my TranslateLoader instead of a local en.json
file.
Is there any way to achieve that?
TL;DL: I want to call 'http://localhost:xxxx/api/translation/EN' to get a JSON response of the translations and load it on TranslateHttpLoader