Skip to content

[Bug]: Some copies in Task list are not rendered in the user language #22944

@FAMarfuaty

Description

@FAMarfuaty

Prerequisites

  • I've read and understood the contribution guidelines.
  • I've searched for any related issues and avoided creating a duplicate issue.

Please give us a description of what happened

Some copies in Task list are not rendered in the user language. But they are rendered in the site language.
The affected copies are the texts that are retrieved from the backend.

  1. Task title
  2. Why this matters section
  3. How to solve section
  4. Call to action text

As a result when a user set a different user language than the site language, they will see an inconsistent UI.

Step-by-step reproduction instructions

  1. Install and activate Yoast SEO
  2. Set the site language to English
  3. Set the user language to other language, e.g. Japanese
  4. Go to Yoast SEO > General > Task list
  5. Confirm that the task title is still rendered in English
  6. Open the task modal
  7. Confirm that the title, why this matters, how to solve and call to action sections are all rendered in English

Expected results

  1. The task title is still rendered in user language (Japanese)
  2. The task title, why this matters, how to solve and call to action sections inside the modal are all rendered in user language (Japanese)

Actual results

  1. The task title is still rendered in site language (English)
  2. The task title, why this matters, how to solve and call to action sections inside the modal are all rendered in site language (English)

Screenshots, screen recording, code snippet

Image Image Image

Which editor is affected (or editors)

  • Block Editor
  • Gutenberg Editor
  • Elementor Editor
  • Classic Editor
  • Other (please specify in additional info)

Which browser is affected (or browsers)

  • Chrome
  • Firefox
  • Safari
  • Other (please specify in additional info)

Device you are using

No response

Operating system

No response

PHP version

No response

WordPress version

6.9.1

WordPress Theme

No response

Yoast SEO version

26.9

Gutenberg plugin version (if relevant)

No response

Elementor plugin version (if relevant)

No response

Classic Editor plugin version (if relevant)

No response

Relevant plugins in case of a bug

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions