-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Description
This is an experiment to collect i18n issues in MFE repositories using an agentic AI. The artifacts attached to this issue were created by https://manus.im
The prompt was
The Open edX platform is an open source learning management platform. The frontend elements of the platform are delivered with micro-frontends that are based on the React JS framework. It is important that the frontends can be translated into different languages.
The following document contains some information about how we accomplish that, https://github.com/openedx/frontend-platform/blob/master/docs/how_tos/i18n.rst
Attached to this are a summary document with suggested fixes.
The issues discovered are included here in tabular format:
Issue ID | Description | Category | File Path | Line Number | GitHub Link |
---|---|---|---|---|---|
1 | Hardcoded text '---' in empty option without internationalization | Direct JSX Text | src/discussions/post-comments/comments/comment/CommentEditor.jsx | 1 | https://github.com/openedx/frontend-app-discussions/blob/master/src/discussions/post-comments/comments/comment/CommentEditor.jsx#L1 |
2 | Hardcoded text '---' in empty option without internationalization | Direct JSX Text | src/discussions/posts/post-editor/PostEditor.jsx | 1 | https://github.com/openedx/frontend-app-discussions/blob/master/src/discussions/posts/post-editor/PostEditor.jsx#L1 |
3 | Hardcoded text '---' in empty option without internationalization | Direct JSX Text | src/discussions/posts/post/ClosePostReasonModal.jsx | 1 | https://github.com/openedx/frontend-app-discussions/blob/master/src/discussions/posts/post/ClosePostReasonModal.jsx#L1 |
4 | Hardcoded divider character '/' without internationalization | Direct JSX Text | src/discussions/navigation/breadcrumb-menu/LegacyBreadcrumbMenu.jsx | 1 | https://github.com/openedx/frontend-app-discussions/blob/master/src/discussions/navigation/breadcrumb-menu/LegacyBreadcrumbMenu.jsx#L1 |
5 | Hardcoded aria-label 'Actions menu' without internationalization | Aria Attribute | src/discussions/post-comments/PostCommentsView.test.jsx | 1 | https://github.com/openedx/frontend-app-discussions/blob/master/src/discussions/post-comments/PostCommentsView.test.jsx#L1 |
6 | Hardcoded string constant 'loading' without internationalization | String Constant | src/components/NavigationBar/data/slice.js | 1 | https://github.com/openedx/frontend-app-discussions/blob/master/src/components/NavigationBar/data/slice.js#L1 |
7 | Hardcoded string constant 'loaded' without internationalization | String Constant | src/components/NavigationBar/data/slice.js | 2 | https://github.com/openedx/frontend-app-discussions/blob/master/src/components/NavigationBar/data/slice.js#L2 |
8 | Hardcoded string constant 'failed' without internationalization | String Constant | src/components/NavigationBar/data/slice.js | 3 | https://github.com/openedx/frontend-app-discussions/blob/master/src/components/NavigationBar/data/slice.js#L3 |
9 | Hardcoded string constant 'denied' without internationalization | String Constant | src/components/NavigationBar/data/slice.js | 4 | https://github.com/openedx/frontend-app-discussions/blob/master/src/components/NavigationBar/data/slice.js#L4 |
10 | Hardcoded string constant '/:courseId' without internationalization | String Constant | src/data/constants.js | 1 | https://github.com/openedx/frontend-app-discussions/blob/master/src/data/constants.js#L1 |
11 | Component missing i18n imports | Missing i18n Import | src/assets/ContentUnavailable.jsx | 1 | https://github.com/openedx/frontend-app-discussions/blob/master/src/assets/ContentUnavailable.jsx#L1 |
12 | Component missing i18n imports | Missing i18n Import | src/assets/Empty.jsx | 1 | https://github.com/openedx/frontend-app-discussions/blob/master/src/assets/Empty.jsx#L1 |
13 | Component missing i18n imports | Missing i18n Import | src/components/FormikErrorFeedback.jsx | 1 | https://github.com/openedx/frontend-app-discussions/blob/master/src/components/FormikErrorFeedback.jsx#L1 |
14 | Component missing i18n imports | Missing i18n Import | src/components/HTMLLoader.jsx | 1 | https://github.com/openedx/frontend-app-discussions/blob/master/src/components/HTMLLoader.jsx#L1 |
15 | Component missing i18n imports | Missing i18n Import | src/components/ScrollThreshold.jsx | 1 | https://github.com/openedx/frontend-app-discussions/blob/master/src/components/ScrollThreshold.jsx#L1 |
16 | Component missing i18n imports | Missing i18n Import | src/components/Spinner.jsx | 1 | https://github.com/openedx/frontend-app-discussions/blob/master/src/components/Spinner.jsx#L1 |
17 | Component missing i18n imports | Missing i18n Import | src/discussions/discussions-home/DiscussionContent.jsx | 1 | https://github.com/openedx/frontend-app-discussions/blob/master/src/discussions/discussions-home/DiscussionContent.jsx#L1 |
18 | Component missing i18n imports | Missing i18n Import | src/discussions/discussions-home/DiscussionSidebar.jsx | 1 | https://github.com/openedx/frontend-app-discussions/blob/master/src/discussions/discussions-home/DiscussionSidebar.jsx#L1 |
19 | Component missing i18n imports | Missing i18n Import | src/discussions/discussions-home/DiscussionsHome.jsx | 1 | https://github.com/openedx/frontend-app-discussions/blob/master/src/discussions/discussions-home/DiscussionsHome.jsx#L1 |
20 | Component missing i18n imports | Missing i18n Import | src/discussions/discussions-home/FeedbackWrapper.jsx | 1 | https://github.com/openedx/frontend-app-discussions/blob/master/src/discussions/discussions-home/FeedbackWrapper.jsx#L1 |
Metadata
Metadata
Assignees
Labels
No labels