- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 36
Closed
Description
As per the issue listed at i18next/i18next-xhr-backend#261, if a file is missing, the i18next-xhr-backend issues an error message to the callback indicating the missing files.
The system would normally continue with a graceful fallback, but due to the handling by I18NextService in init the app initialization is rejected.
angular-i18next/src/I18NextService.ts
Lines 38 to 42 in 6e86224
| (err: any) => { | |
| if (err) { | |
| console.error(err); | |
| reject(err); | |
| } else { | 
When using this project in the app initialization as defined in the cookbook section of the README (https://github.com/Romanchuk/angular-i18next#initialize-i18next-before-angular-application), the reject prevents the angular app from initializing, and only a blank screen is presented.
Metadata
Metadata
Assignees
Labels
No labels