Closed simonbergstrom closed 8 months ago
You can already do so by specifying your own fetch/request function: https://github.com/i18next/i18next-http-backend#backend-options
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
🚀 Feature Proposal
Add the possibility to add timeout for fetching i18n resource like the axios config
timeout
. (See example here for timeout: https://axios-http.com/docs/req_config and search for timeout)Motivation
When fetching i18n resource it would be really good to specify for how long a request is acceptable to wait for before fallbacking to fetching i18n resources from somewhere else.
Example
https://axios-http.com/docs/req_config and search for timeout