openedx / openedx/credentials

Right-to-left language display broken in Course Certificates display

Open
#1,751 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted
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

  1. Set browser default language to Arabic or other R to L language
  2. View a certificate
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.