Support for frameworks based on web standards (WinterTC)
🚀 Feature Proposal
In 2025, there are many frameworks that are based on pure web standards, as formalized by WinterTC. One of the most popular ones is Hono, which uses fetch() and Request/Response headers as available in every JS runtime (and so, can run almost everywhere).
Looking at the code, it looks like this middleware still doesn't support such frameworks (apparently it is based more on NodeJS based frameworks, like Express, Hapi and so on). Can we add support to them?
Motivation
The goal is to be able to run i18next everywhere, even on limited environments, like edge runtimes (cloudflare workers, AWS lambda, etc.)
Example
Adapt the API to support frameworks based on fetch() API, and maybe implement a custom Hono Middleware integrated with it.
Feel free to create a PR for that... This is probably the most important file for that: https://github.com/i18next/i18next-http-middleware/blob/master/lib/httpFunctions.js And add here the tests: https://github.com/i18next/i18next-http-middleware/tree/master/test