245499a05a
This updates to set the `NEXT_LOCALE` cookie to the default locale when the user prefers a different locale from the default in their `accept-language` header but visits the default locale path e.g. `/en-US` with a `accept-language` preferred header of `nl` will set the `NEXT_LOCALE=en-US` header and then redirect to `/` x-ref: https://github.com/vercel/next.js/pull/17370 |
||
---|---|---|
.. | ||
.stats-app | ||
acceptance | ||
eslint-plugin-next | ||
integration | ||
isolated | ||
lib | ||
package-managers-tests/basic-pnpm | ||
unit | ||
.babelrc | ||
.gitignore | ||
jest-environment.js | ||
jest-global-setup.js | ||
jest-global-teardown.js | ||
jest-setup-after-env.js | ||
test-file.txt | ||
tsconfig.json |