Translation do not appear for locally mounted mfes in sumac.2 (tutor v19.0.2)

Hi,
I’ve recently upgraded from palm to sumac, and I’m currently using sumac.2 with Tutor v19.0.2.


I have noticed that the translation system has changed, and we now need to:


When I mount any MFE (e.g., accounts) locally using:

tutor mounts add frontend-app-accounts

the translations no longer appear in that MFE — despite working fine on other unmounted MFEs.


I will list the steps that I am following.

  • I have added ATLAS_REPOSITORY and ATLAS_REVISION in the config.yml file
  • I have pushed custom translations in my forked openedx-translations and made changes in the files related to accounts translation files.
  • I have mounted accounts mfe using : tutor mounts add frontend-app-accounts command
  • Then I rebuild the account image using : tutor mounts build accounts-dev --no-cache
    I can also see in the logs that the translations are fetched from my forked openedx-translations

[account-common 5/6] RUN make OPENEDX_ATLAS_PULL=true ATLAS_OPTIONS="–repository=myusername/openedx-translations --revision=my-branch " pull_translations

  • Then I restart my development server using : tutor dev restart
  • In my local, I change the language from http://apps.local.openedx.io:1997/account/#site-preferences
  • Now, I check on the account page, it does not get translated in the other language. On the other mfe pages (which are not mounted), I can see that they are translated.
  • If I remove the mounted account mfe by tutor mounts remove frontend-app-accounts and then build image again using tutor images build accounts-dev --no-cache, now I can see that account page is showing the updated translations when the mfe is not mounted.

Note: I have also mounted the edx_platform and I am able to see the translations on the django pages but facing issues for mounted MFEs.


How can we see the translations when we are using the locally mounted mfes.

Also, I would want to know if this is the only approach to see the custom translations while developing, do we need to build image each time we want to see the changes after we have added some new translations to the forked openedx-translations.

Can anyone guide me through the detailed steps that we need to use for mfe translations in development and for deployment in production?

I am tagging some people for the help regarding this. @regis @arbrandes @sarina @braden
@ghassan @hinakhadim @jill @antoviaque @xitij2000 @leonelkatsikaris @Mahendra @fghaas @djoy @Arslan_Ashraf @omar @Andres.Aulasneo

Please don’t do that. Tagging one or two people individually is okay(-ish), but calling out 16 different people is closer to spamming.

Sure, I’ll be more mindful about this going forward.