You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The next/router plugin automatically checks the preferred language/region for the users browser when going to ethereum.org, and forwards the user to the matching locale if available.
In cases where this browser preference contains region-specificity (ie. pt-BR for Brazilian Portuguese) users should be redirected to this region (if available, ie. /pt-br), but is instead being directed to the root language /pt instead.
To reproduce
Set your browser language to Portuguese Brazilian (pt-br), or Chinese Traditional (zh-tw) (use a new browser profile if needed, or clear cache / use a private browser window)
If browser preference contains a region that is in our list of supported locales, the user should be forwarded to the region-specific path (ie. Brazilian Portuguese should direct ethereum.org to ethereum.org/pr-bt, not ethereum.org/pt).
Screenshots
No response
Desktop (please complete the following information)
macOS Sonom 14.2.1
Brave 1.62.153
Smartphone (please complete the following information)
No response
Additional context
This may be related to the next-i18next.config.js settings, potentially a side-effect of the cleanCode, load or lowerCaseLng properties but haven't investigated much further yet.
Would you like to work on this issue?
Yes
No
The text was updated successfully, but these errors were encountered:
Describe the bug
The
next/router
plugin automatically checks the preferred language/region for the users browser when going to ethereum.org, and forwards the user to the matching locale if available.In cases where this browser preference contains region-specificity (ie.
pt-BR
for Brazilian Portuguese) users should be redirected to this region (if available, ie./pt-br
), but is instead being directed to the root language/pt
instead.To reproduce
Expected behavior
If browser preference contains a region that is in our list of supported locales, the user should be forwarded to the region-specific path (ie. Brazilian Portuguese should direct ethereum.org to ethereum.org/pr-bt, not ethereum.org/pt).
Screenshots
No response
Desktop (please complete the following information)
Smartphone (please complete the following information)
No response
Additional context
This may be related to the
next-i18next.config.js
settings, potentially a side-effect of thecleanCode
,load
orlowerCaseLng
properties but haven't investigated much further yet.Would you like to work on this issue?
The text was updated successfully, but these errors were encountered: