Open monolithed opened 7 months ago
The x-next-i18n-router-locale
header is actually an artifact of an older version of this library. It is not really needed anymore and we should probably get rid of it, but I know some developers still use it for certain reasons. But you're right, this would make much more sense as a Content-Language header. We'll go ahead and implement this. Thanks!
It would be great to have the ability to change the name of the X-Next-I18n-Router-Locale header, as such identification impacts the security of applications.
By the way: why don't you use Content-Language instead?