openedx / credentials

Service hosting course and program certificates
GNU Affero General Public License v3.0
22 stars 70 forks source link

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

Open hurtstotouchfire opened 1 year ago

hurtstotouchfire commented 1 year ago

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)

jsnwesson commented 8 months ago

For the sake of tracking, this issue also has a ticket in the @openedx/2u-aperture backlog (APER-1598), but is not prioritized.

Anyone in the open-source community who is willing to take it is welcomed!