Automattic / sensei

Sensei LMS - Online Courses, Quizzes, & Learning
https://senseilms.com
GNU General Public License v2.0
542 stars 197 forks source link

Missing translation texts for Sensei LMS Certificates (Block editor) #7693

Open amroland opened 6 days ago

amroland commented 6 days ago

Texts used in block editor are missing or not translated after translation CLI run.

Steps to Reproduce

  1. Install Sensei LMS Certificates.
  2. Switch to another language.
  3. Create a new course.
  4. Add "View Certificate" block.
  5. Check translation texts.

Missing from translation file (PO file): "A Buttons block with a View Certificate button." "Enable students to view their course certificate."

Not translated after CLI run: "View Certificate"

PHP / WordPress / Sensei LMS version

PHP version 8.1.17 WordPress version 6.6.2 Sensei LMS Version: 4.24.3 | Sensei Pro Version: 1.24.1 Sensei LMS Certificate version 2.5.2

Screenshot / Video

Image Image

donnapep commented 4 days ago

We likely need to add support for translating strings in JS files as we did for Sensei.

donnapep commented 4 days ago

Closing as I've moved this to the Certificates repo - https://github.com/woocommerce/sensei-certificates/issues/359.

donnapep commented 4 days ago

Reopening so it can be added to our project board, but please use the Certificates issue for updates.