I am trying to port an app from angularJS to angular4.
I am slowly moving component from one to another, and have issue with the translation.
I am trying to use the old angularjs translation, and the ngx-translator together.
before I had
$translateProvider.useStaticFilesLoader({
files: [{
prefix: 'languages/locale-',
suffix: '.json'
},{
prefix: 'languages/' + 'beee' + '/locale-',
suffix: '.json'
}]
});
But it looks like ngx-translate do not allow static file? Is there any solution other than httprequest ?