Opened 14 months ago

Closed 14 months ago

Last modified 14 months ago

#20320 closed enhancement (invalid)

Display localised plugin name/description for inactive plugins

Reported by: johnbillion Owned by: johnbillion
Priority: normal Milestone:
Component: I18N Version:
Severity: normal Keywords:
Cc: pavelevap@…

Description

Fairly sure that we can display localised plugin data (name, description, etc) on the Plugins screen for inactive plugins if the plugin includes a Text Domain and a Domain Path header.

Patch coming up at some point.

Change History (7)

  • Owner set to johnbillion
  • Status changed from new to assigned
  • Cc pavelevap@… added

comment:3 follow-up: ↓ 4   nacin14 months ago

Fairly sure we already do?

comment:4 in reply to: ↑ 3   johnbillion14 months ago

Replying to nacin:

Fairly sure we already do?

Only for active plugins currently.

Then it sounds like a bug, as although I haven't tested it, there's no switch in the code to only translate it for active plugins.

It might be that the load_plugin_textdomain() calls in wp-admin/includes/plugin.php isn't the same as what the plugin would be doing, resulting in it translating when the plugin is active, but not when it's inactive?

  • Resolution set to invalid
  • Status changed from assigned to closed

False alarm. My test plugin had an erroneous Domain Path header. Translations are shown for all plugins regardless of activation status.

Last edited 14 months ago by johnbillion (previous) (diff)
  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.