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 code that is supposed to be grabbing information about whether to serve an English or Spanish page is always setting the locale to English.
Note that as we do not currently have a usable Spanish version of the site, this is not urgent, but it is important that some basic translation can work to make sure future changes do not break the set up that is in place.
Reproducibility
None
How to reproduce the bug
alternatively, add a console log to output the locale in src/i18n/server.tx line 14
start a local server with either npm run dev or npm run build && npm start
visit localhost:3000/es
verify spanish messages do not appear, locale is logged as "en"
Browser
None
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
* replaces use of "unstable_setRequestLocale" with "setRequestLocale" and passes in dynamic locales
* includes a couple of quality of life improvements related to translation code
* translation should now work if we provide Spanish content
Summary
The code that is supposed to be grabbing information about whether to serve an English or Spanish page is always setting the locale to English.
Note that as we do not currently have a usable Spanish version of the site, this is not urgent, but it is important that some basic translation can work to make sure future changes do not break the set up that is in place.
Reproducibility
None
How to reproduce the bug
npm run dev
ornpm run build && npm start
Browser
None
Code of Conduct
The text was updated successfully, but these errors were encountered: