Right-to-left language display broken in Course Certificates display
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 25
- Forks
- 83
- Avg merge
- 11h 51m
- Merged PRs (30d)
- 1
Description
This ticket may cover multiple independent bugs and need to be broken up. The "Issue date" is the only translated string. We're not certain how best to handle this.
This was logged for course certificates, and would be fixed in edx-platform: https://github.com/edx/edx-platform/blob/40964045e4cc284a8761419d2dc3cdd8e5cd1c6e/lms/djangoapps/certificates/views/webview.py#L123
Original Report:
Learners with browsers using a right to left language as their default will see the certificate jumbled:
Steps to reproduce
- Set browser default language to Arabic or other R to L language
- View a certificate
- Note the signatures, instructor names and Valid cert ID are to the left instead of the right.
Also to note, usually the Issue date is in the browser default language instead of the certificate language (this is the only bit actually translated)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked edx-platform file, lms/djangoapps/certificates/views/webview.py around line 123, and reproduce the certificate using Arabic or another right-to-left browser language. Check the reported signature, instructor, certificate ID, and issue-date behavior, then determine which independent problems belong in this repository versus edx-platform. Done requires a confirmed, appropriately scoped fix, but the issue does not define that scope.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend, localization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100