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
In the join page, we load the english version by default, so if there is an error in the parameters passed in, the error message is in English and the page language changes to English. However, even if the language is changed back to Spanish, the error message stays in English because we don't try to re-generate the token, and the error message is filled in using $.i18n instead of data-i18n.
And we can't translate the error when changing the language because we don't know the reason for the error.
There are multiple possible fixes:
encoding the language as a query param so that when we reload, we reload in Spanish
caching the error message
...
Let's punt on this for now and fix it later.
The text was updated successfully, but these errors were encountered:
shankari
changed the title
Minor bug in join page i18n
join webapp does not display error messages in Spanish
May 20, 2023
They are not actually used, since:
- I have never seen the clipboard action fail
- We always load the page first in English
But at least when we fixe-mission/e-mission-docs#905
we are ready for things to work
This is the final final fix for
e-mission/e-mission-docs#850
In the join page, we load the english version by default, so if there is an error in the parameters passed in, the error message is in English and the page language changes to English. However, even if the language is changed back to Spanish, the error message stays in English because we don't try to re-generate the token, and the error message is filled in using
$.i18n
instead ofdata-i18n
.And we can't translate the error when changing the language because we don't know the reason for the error.
There are multiple possible fixes:
Let's punt on this for now and fix it later.
The text was updated successfully, but these errors were encountered: