Making WordPress.org

Opened 6 weeks ago

Closed 6 weeks ago

#8123 closed enhancement (reported-upstream)

Admin: Plugin search does not match translated plugin names in “Installed Plugins” list

Reported by: malimart's profile malimart Owned by:
Milestone: Priority: normal
Component: Plugin Directory Keywords:
Cc:

Description

When WordPress is used in a non-English language, the Plugins > Installed Plugins screen in the WP admin dashboard displays translated plugin names (from .mo files) if they exist. However, the search box at the top of that screen only matches the plugin’s original (English) name, not its translated name. If you search a plugin by the translated name from the list you get no results.

Expected behavior

When doing a search using the plugin's translated name, the plugin should appear, because the displayed (translated) name matches the search query.

Benefits

  • Improves usability for non-English users.
  • Aligns the admin search with localized UI expectations.
  • Avoids confusion when users see translated names but get no search results.

Technical details

I believe the issue is that the WP_Plugins_List_Table search logic in class-wp-plugins-list-table.php uses the raw plugin headers ($plugin_dataName?, etc.) from the plugin files, without passing them through translation functions. Therefor, only the original English strings are searchable.

Related tickets

The issue is similar to #1496, except it's not related to the plugin directory but the plugin search inside the wp admin.

Change History (2)

#1 @fierevere
6 weeks ago

Thats the way translator/translation editor handled plugin translation.
Plugin titles and descriptions can be translated for both - (installed) plugin and its page on wordpress.org. Moreover those strings can be translated differently for plugin and readme.
Sometimes its intentional, more often it is not.

There is workaround for translation teams as a guideline/recommendation to not translate plugin names or translate it partially.

#2 @dd32
6 weeks ago

  • Component changed from General to Plugin Directory
  • Resolution set to reported-upstream
  • Status changed from new to closed

@malimart This sounds like a bug report for WordPress Core trac - not Meta trac, which is for bugs on the WordPress.org website. It sounds like you're reporting a bug within WordPress itself.

I've moved this report over to the WordPress Core trac for you:
https://core.trac.wordpress.org/ticket/64188

Note: See TracTickets for help on using tickets.