Make use of the provided provideI18nTransloco
function, in either the app.config of the app:
export const appConfig: ApplicationConfig = {
providers: [
// ... other imports
provideI18nTransloco(),
],
};
Or in an NgModule like core, or directly the app one:
@NgModule({
providers: [provideI18nTransloco()],
})
export class CoreModule {}
Run nx test i18n-transloco
to execute the unit tests.