Ionic 3 and ngx-translate doesn't work without live reload (lazyload)

This is how I set my app: Using live reload on the pages.

export function createTranslateLoader(http: Http) {
return new TranslateHttpLoader(http, ‘./assets/i18n/’, ‘.json’);
}

And in imports

TranslateModule.forRoot({
loader: {
provide: TranslateLoader,
useFactory: (createTranslateLoader),
deps: [Http]
}
})

I have lazyloaded my pages and added the translate module on the page

imports: [
IonicPageModule.forChild(HomePage),
TranslateModule.forChild()
]

The weird thing is that it works with live reload -l on, but doesn’t work without it. I’m using Cordova WKWebview plugin if that matters.

Thanks.

1 Like

Same for me… :-/ any solution for this issue?

Same for me… any news?