#1728 closed task (blessed) (fixed)
Add locale banner on plugin detail page
Reported by: | samuelsidler | Owned by: | ocean90 |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Plugin Directory | Keywords: | |
Cc: |
Description
One way to improve the visibility of the localized plugin directories is to show a banner on the plugin detail page, if a plugin is translated into a locale relevant to the user.
We already have some code that uses GeoIP and accept-lang headers (I believe) to tell users if either WordPress or the forums are available in their language. We can reuse some of that code here. One difference, though, is that we'll want to check if a plugin is translated into those languages and only show those. The banner should probably read something like...
This plugin is also available in German.
But, you know, translated like the current string is on the homepage, download page, and forums. And with other languages in parenthesis. (Note that we shouldn't list all languages the plugin is available in at this location.)
We already have some code that does something similar in the current repository. Perhaps we can reuse it?
Attachments (3)
Change History (19)
#2
@
8 years ago
- Milestone set to Plugin Directory v3 - M5
- Owner set to ocean90
- Status changed from new to assigned
This ticket was mentioned in Slack in #meta by obenland. View the logs.
8 years ago
#8
follow-up:
↓ 9
@
8 years ago
What's missing here:
- Do we want to display locale banners on local sites? This would only happen if a user has multiple languages in the header defined.
- Should the banners be dismissable?
- I missed an important part: The banner on https://wordpress.org/plugins-wp/akismet/ needs to be translated into the first language.
cc: @obenland
#9
in reply to:
↑ 8
@
8 years ago
Replying to ocean90:
- Do we want to display locale banners on local sites? This would only happen if a user has multiple languages in the header defined.
Nope. I think we could, but I'd rather list all available translations in the Contributors & Developers section (on all locales).
- Should the banners be dismissible?
Nope.
- I missed an important part: The banner on https://wordpress.org/plugins-wp/akismet/ needs to be translated into the first language.
Yes, please. :)
#14
follow-up:
↓ 15
@
8 years ago
Hi,
This is looking great, and it is actually awesome. I really like it. The only thing that I doubt about is the accuracy of the suggested language. At the moment it is getting the locale from the "languages" the user has configured in his browser. Shouldn't it be better if we base the location on the user current location via JS or even using an IP location service?
Best,
Juanfra.
#15
in reply to:
↑ 14
@
8 years ago
- Resolution set to fixed
- Status changed from assigned to closed
Replying to juanfra:
Shouldn't it be better if we base the location on the user current location via JS or even using an IP location service?
We'll play around with it, but we've gotten a lot of negative feedback with the current iteration, which uses an IP location service. That one is visible on the homepage, support forums, and download page.
Everything on this ticket is fixed. Resolving as such.
Design is available here: https://make.wordpress.org/meta/2016/05/20/plugin-directory-prototypes-single-view/