-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing internationalization #287
Comments
Thanks @sambapete and @arbrandes for reporting this issue. I've checked the file and it's a bug in the frontend-app-learner-dashboard/src/containers/CourseCard/components/CourseCardActions/messages.js Lines 1 to 11 in 3268165
It's using the frontend-app-learner-dashboard/src/containers/LearnerDashboardHeader/messages.js Lines 1 to 11 in 3268165
To fix the issue, the |
This will fix the problem with CourseCardActions but not all problems. The same issue exists in other messages.js files in frontend-app-learner-dashboard. A full review may be needed. Look at src/containers/SelectSessionModal/messages.js, ./src/containers/CourseCard/components/CourseCardMenu/messages.js and a few others that are also using StrictDict. And it may be the case in other directories for that MFE and a few other MFEs. I guess the Translations Working Group and the Frontend Working Group should make sure the translations of MFEs is properly setup for all MFEs. @arbrandes @OmarIthawi As I am no longer a core contributor to the Open edX project, I don't have the time and I don't know how long it would take me to make a PR to fix all issues, have it reviewed and implemented to fix all the issues with translations in this particular MFE and maybe in other MFEs. Yes, I am passing the ball to the MFEs owners. I don't know how the community could implement it but a test to make sure that all strings defined in a particular MFE are added to the strings that are sent to Transifex for translations, but I assume this is something that needs to be done now after what we found with frontend-app-communications previously and now with frontend-app-learner-dashboard. My 2 cents. |
@sambapete I have made a quick serach across For other MFEs I think the problem we had before that the resources werent synced to TX in the first place. Regarding a test I agree it would be ideal, so far to my knowledge there are two reason a resource is not TX:( 1. The repo is not synced and 2. The sytanx used to define a message ). We will discuss this topic in next TWG call CC:@ehuthmacher |
Thanks @ghassanmas At least we know it is restricted to this MFE. Since the problem also affects edx.org, maybe it could be given a higher priority to resolve? Unfortunately, I cannot attend the TWG meetings anymore as we are shutting down our Open edX instance on April 30, 2024. I am no longer a core contributor since we announced it. I found this problem while migrating our courses on edx.org. |
As per https://discuss.openedx.org/t/translations-issues-with-the-frontend-app-learner-dashboard/12287, @sambapete writes:
The text was updated successfully, but these errors were encountered: