Page MenuHomePhabricator

Display regional languages in suggested languages section
Closed, ResolvedPublic4 Estimated Story Points

Description

In the list of suggested languages, we can display the regional languages for the user.

image.png (515×427 px, 20 KB)

This will require language-data library to be included to fetch the regional languages for the user.

Event Timeline

abi_ triaged this task as Low priority.

Change #1271003 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[mediawiki/extensions/UniversalLanguageSelector@master] ULS rewrite: Show suggestions based on user's territory

https://gerrit.wikimedia.org/r/1271003

abi_ changed the task status from Open to In Progress.Apr 14 2026, 5:06 PM
abi_ claimed this task.
abi_ moved this task from Ready for dev to In Progress on the LPL Essential (FY2025-26 Q3&4) board.

Change #1271003 merged by jenkins-bot:

[mediawiki/extensions/UniversalLanguageSelector@master] ULS rewrite: Show suggestions based on user's territory

https://gerrit.wikimedia.org/r/1271003

Tested on https://bd4346ecd8.catalyst.wmcloud.org/wiki/ManyLanguages

  • Removed uls-previous-languages that were set.
  • Set window.Geo = { country: 'IN' } in the browser console.

image.png (813×522 px, 54 KB)

image.png (841×306 px, 22 KB)

Languages to which the page is translated are presented under suggestions, rest are present in the missing languages entrypoint.