Bug Report: Incorrect URL for Language Switch in Tutor Indigo Theme

Description

When enabling multiple languages in Open edX with the Indigo theme, the language switch dropdown generates an incorrect URL. The issue is caused by the following line in the header.html file:

File: tutorindigo/templates/indigo/lms/templates/header/header.html

value="${reverse('session_language')}"

Issue:

  • The session_language URL is incorrect.

Fix:

  • It should be replaced with update_language to work correctly:
value="${reverse('update_language')}"

Would appreciate a fix in an upcoming update! :slightly_smiling_face:

Hi. Feel free to open a PR against release branch GitHub - overhangio/tutor-indigo: An elegant, customizable theme for Open edX. You already have a proposed fix, you should do the honor of adding it :slightly_smiling_face: .

That makes sense, I will do it. :slightly_smiling_face:

2 Likes