WordPress / WordPress/Learn

Learn WordPress displays lessons from multiple languages after switching site locale

Open
#3,541 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Awaiting Triage
Dominant language
PHP
Stars
333
Forks
127
Avg merge
1d 7h
Merged PRs (30d)
11

Description

After changing the Learn WordPress interface language to Gujarati, the lesson listing displays a mixture of Gujarati, English, French, and Filipino lessons on the same page. The page should consistently display lessons for the selected locale (or use a single fallback language when translations are unavailable). The issue remains reproducible in an incognito window.

Steps to Reproduce

Visit Learn WordPress.
Change the interface language to Gujarati.
Open the Lessons page.
Observe the lesson cards.

Actual Result

Lesson cards are displayed in multiple unrelated languages on the same page.

Expected Result

Lesson cards should match the selected locale, or consistently fall back to a single language if translations are unavailable.

Below are the screenshots for reference:-

Before translation:- https://prnt.sc/t_F9TjCFq92Q
After translation:- https://prnt.sc/LjNzG28KMbzU

Contributor guide

No contributing guide indexed for this repository

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

Reproduce the issue from the Learn WordPress Lessons page in an incognito window after selecting Gujarati. Trace the lesson listing's locale filtering and fallback behavior; done means Gujarati lessons are shown consistently, or all cards use one fallback language when translations are unavailable.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
localization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.