Opened 6 weeks ago
#8170 new enhancement
Misleading “Translate [plugin] into your language” link for plugins not prepared for localization
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Component: | Translate Site & Plugins | Keywords: | |
| Cc: |
Description
On every plugin page in the WordPress.org Plugin Directory, a “Translate ‘{Plugin Name}’ into your language” link is displayed unconditionally.
However, when following that link, translators may be presented with the error:
This plugin is not properly prepared for localization.
This creates a misleading UX, especially for contributors who are encouraged to help translate plugins but only discover after clicking that the plugin is not translation-ready.
Steps to Reproduce:
Open a plugin page in the Plugin Directory, e.g.
https://wordpress.org/plugins/debug/
Click “Translate ‘Debug’ into your language.”
You may see the notice:
This plugin is not properly prepared for localization.
Expected Behavior:
Hide the “Translate” link if the plugin is not prepared for localization, based on import/validation results from translate.wordpress.org.
or
Keep the link visible, but add a warning directly on the plugin page, e.g.:
This plugin is currently not prepared for translation.