Issue with Translation in Open edX Quince

hi @Yaniv_Gershon ,

This is because the language preference defaults to English if not explicitly set by the user. When the platform is first loaded, it defaults to English. If you want your site to support multiple languages, you can follow this guide: How to Enable Multiple Languages for Your Open edX Platform. Alternatively, if you want the platform to be in a specific language, you can follow my solution below


The way translation is handled in the MFEs differ from how the platform handles translations (which is Python gettext based).

The translation framework in MFEs is based on formatjs (Installation | Format.JS).

Instead of .po files the translations lie in .json files. Every language has its own file (per MFE), so to override a specific string in all MFEs, we would have to override it in all translation files in all MFEs This also sometimes applies to decency pkgs, like header, footer…etc.
For custom translations in MFE, you can modify your message files and provide translations in JSON format. Place the translations in the i18n folder structured as i18n/messages/<language>.json.
for Example see screen shot below:


1 Like