Closed scottwalter-nice closed 4 years ago
Oh I think I found the issue. I needed to change my provider from:
AppInitializer to { provide: AppInitializer, useClass: AppInitializer, deps: [I18NEXT_SERVICE]},
@scottwalter-nice may be =)
@Romanchuk Really liking your wrapper btw.
If I have an initializer setup like this
I get a value for I18NextService.language. However if I move the logic into a class then I get an empty string for I18NextService.language.
Any ideas why the language is an empty string when I move it into a class?