It IS working on ionic serve (all device with chrome), ionic view (ios device and android device), android device (cordova run android) but NOT on iOS device. Keys are displayed instead of translations. Most pages are not lazy loaded.
app.module.ts :
export function createTranslateLoader(http: HttpClient) {
return new TranslateHttpLoader(http, './assets/i18n/', '.json');
}
...
imports: [...,
HttpClientModule,
TranslateModule.forRoot({
loader: {
provide: TranslateLoader,
useFactory: (createTranslateLoader),
deps: [HttpClient]
}
})
]
Since its working on everything but an iOS device, I doubt it’s a implementation in my code problem but I’d really like to make it work and not redo everything with a wonky pipe