Using ngx-translate in my frontend, I aim to dynamically load translations upon app launch.
The backend delivers a response in JSON format, for example:
{
"something: "something"
}
Instead of utilizing a local en.json
file, I desire to integrate this output into my TranslateLoader.
Is there a method to accomplish this?
In summary, I wish to access '' to receive a JSON response containing the translations and then load it using TranslateHttpLoader
.