Request retry loading locale when failed
See original GitHub issueI’m submitting a…
[ ] bug report
[X] feature request
[ ] support request
Features request
- Retry loading locale when http request failed
Expected Behavior
- When provider trying to request locale (JSON file) and failed with 404 or 500 status code. Then retry HTTP request for that
Specifications: Angular version, library version, environment, browser angular: 4.1.3 angular-l10n: 3.5.0 Ionic Framework: ionic-angular 3.6.0
I just use this module with Ionic framework.
Sorry for my not good in English.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Python request loop, retry if status code not 200 - Stack Overflow
I believe you want to do something like this: for i in range(0, len(table)): var = table.iloc[i] url = 'http://example.request.com/var/' ...
Read more >i18next::backendconnector failed to load json from the backend
I'm trying to load the json from the backend using i18nextXHRBackend. ... failed failed parsing /locales/en/special.json to json Java Spr...
Read more >How to Solve the Chunk Load Error in JavaScript - Rollbar
If you are encountering this error as a user of an application, the most simple way to resolve it is to clear your...
Read more >API - i18next documentation
The callback will be called after all translations were loaded or with an error when failed (in case of using a backend).
Read more >Retry failed HTTP requests in Angular | by Kevin Kreuzer
If the source Observable, which is our HTTP request, fails, the retryWhen operator is called. Inside the callback, we get access to the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Yes, using the custom provider you can set the logic you want (such as managing a 404).
@robisim74 Thank you. I’ll try this.