WordPress.org

Making WordPress.org

Opened 13 months ago

#5459 new defect

Locale Banner should suggest user locale on localised pages

Reported by: dd32 Owned by:
Milestone: Priority: normal
Component: Plugin Directory Keywords:
Cc:

Description

When you visit a Rosetta plugin directory, if the plugin is translated into that locale, no locale banner suggestion will be offered.

For example, an English reader landing on https://fr.wordpress.org/plugins/hello-dolly/ has no link back to WordPress.org, and a german reader doesn't have a de.wordpress.org link.

The HTTP request and processing occurs anyway, so perhaps we could only display a banner if the current requests Accept-Language header does NOT contain the current locale. For example, if it contains English and French, I shouldn't see a link back to WordPress.org, but if it only contains English it should.

Accessing a localised page where the plugin is NOT translated into that locale, does result in a locale banner however - but only a locale banner suggesting to translate the plugin instead. An example of that (right now) is https://uz.wordpress.org/plugins/hello-dolly/

Change History (0)

Note: See TracTickets for help on using tickets.