MFE Translations not working for all strings

Hi everyone, we are building our local edx platform via tutor and have encountered a problem.

We have successfully forked tutor-indigo repository, changed header and footer, forked atlas-repository and were able to successfully pull our custom translations, but for some reason some strings are not translated. Specifically the My courses and Discover buttons located at https://apps.<lms-name>/learning/course/<course-id> at the top of the page.

I wouldn’t even mind doing a fork of this learning MFE in order to make code changes, but I don’t understand where the lines of text for these buttons are located. Inspection with chrome browser web tools shows that these buttons belong to the nav-course class, but I couldn’t find it in the learning MFE repository, nor in the tutor-indigo theme repository.

Need help to check that all translations are compiled accurately or to find which MFE has this nav-course class that these buttons belong to and hardcode change them if need to.

Hi @FrostEasy54,

If you are using Indigo, it is installing a customized header that is not the standard header of Open edX. The definition of the header texts is here. Note that these lines were added very recently to test a new function called header slots, and may change in the near future.

If you want to run Redwood or older, I recommend you fork from the standard header, where you can customize the menu links here.

Hopefully in Sumac the header slot functionality will be fully available.

Thank you @Andres.Aulasneo ! Is there a way to run this custom fork in production?

If you use tutor-contrib-branding instead of indigo you can customize the header rep easily in production by setting BRANDING_FRONTEND_COMPONENT_HEADER_REPO to the repo url.

1 Like