[OSPR-5979] Port "LANGUAGE_CODE" site configuration option to Lilac - #28502
Conversation
(cherry picked from commit b01544d)
|
Thanks for the pull request, @0x29a! I've created OSPR-5979 to keep track of it in JIRA, where we prioritize reviews. Please note that it may take us up to several weeks or months to complete a review and merge your PR. Feel free to add as much of the following information to the ticket as you can:
All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here. Please let us know once your PR is ready for our review and all tests are green. |
|
FYI @arbrandes :) |
|
@pomegranited Going to test it. Diff is simple and clear - I want to test some corner cases to ensure it works as expected. |
|
Notes so far
So presumably some effort should be dedicated to MFEs to work with this change. P.S. it's a quick review and I'll will do some deeper tests:
|
|
Additional finding. Proposed port is not complete and doesn't change some JS (Backbone) default language logic: In case we change site language account settings we will get the correct behaviour: So as a conclusion- this PR should be enhanced a bit to be a complete solution. @arbrandes @BbrSofiane what do you think? |
|
@0x29a Thank you for your contribution. I see it is already assigned to @arbrandes . |
|
@cmltaWt0, thanks a lot for the detailed review, including testing on Lilac. Here's what I think, though:
|
|
Opened discussion about this in the forum, as per the BTR group's ADR on merging backports. |
|
@edx-community-bot merge |
|
@0x29a 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future. |





Description
This PR contains changes from https://github.com/edx/edx-platform/pull/27696 PR cherry-picked to
open-release/lilac.masterbranch.