Open Colin-Fredericks opened 4 months ago
I just tested this with "Español (Latinoamerica) and it failed likely due to a CORS issue.
@mariajgrimaldi @cmltaWt0 I'm facing exactly the same issue with CORS as @felipemontoya posted above.
I believe the issue is that endpoint /i18n/setlang/
returns Redirect to /
instead of JSON response, and when Learner-dashboard MFE is enabled it's being blocked by CORS policy.
Please see screenshots:
Chromium:
Firefox:
Did this case pass for Quince, since learner-dashboard MFE was included in the community release?
@GlugovGrGlib: we don't have a failing report for quince, so I'll be testing in a quince installation to be sure.
@GlugovGrGlib: I tested here https://apps.sandbox.openedx.edly.io/account/, and I can confirm it is also happening in quince. I can change the language, but the changes are reflected after reloading. Also, I get the CORS error as well. I haven't tested all the languages yet.
I'll be opening an issue in the tutor-mfe repo so we can address it there. Thank you all!
Release
Redwood
Expected behavior
Changing the language for the site should make text appear in other languages.
Actual behavior
For some languages it works; for others it doesn't.
Steps to reproduce
In a really weird twist, some languages work and some do not!
So a lot of them work, but not all of them. It seems my initial choice of French was sort of lucky here - I might not have realized this was broken otherwise.
Additional information
Fun fact: Pasting Hebrew or Arabic into the editor in GitHub gives you some really weird behavior, which I suppose I should have expected.