File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
lms/djangoapps/courseware Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 22Toggles for courseware in-course experience.
33"""
44
5- from edx_toggles .toggles import SettingToggle , WaffleSwitch
5+ from edx_toggles .toggles import SettingToggle , WaffleFlag , WaffleSwitch
66
77from openedx .core .djangoapps .waffle_utils import CourseWaffleFlag
88
168168 f'{ WAFFLE_FLAG_NAMESPACE } .discovery_default_language_filter' , __name__
169169)
170170
171+ # .. toggle_name: courseware.unify_site_and_translation_language
172+ # .. toggle_implementation: WaffleFlag
173+ # .. toggle_default: False
174+ # .. toggle_description: Update LMS to use site language for xpert unit translations and enable new header site language switcher.
175+ # .. toggle_use_cases: opt_in
176+ # .. toggle_creation_date: 2026-01-08
177+ # .. toggle_target_removal_date: None
178+ # .. toggle_warning: n/a
179+ # .. toggle_tickets: https://github.com/openedx/edx-platform/pull/37854
180+ ENABLE_UNIFIED_SITE_AND_TRANSLATION_LANGUAGE = WaffleFlag (
181+ f'{ WAFFLE_FLAG_NAMESPACE } .unify_site_and_translation_language' , __name__
182+ )
183+
171184
172185def course_exit_page_is_active (course_key ):
173186 return COURSEWARE_MICROFRONTEND_COURSE_EXIT_PAGE .is_enabled (course_key )
You can’t perform that action at this time.
0 commit comments