Closed ryelle closed 1 year ago
Or we could check the requested site and not show the suggestion for the current site. If someone accepts multiple languages, it would show the others. So on es.w.org I could see this instead:
I would vote for this approach.
I've just deployed an update to the language suggestion script, so that it should not suggest the language for the site you're currently on.
On the main wordpress.org site, there's a block to suggest other languages of WP, which leads to the rosetta sites. If you're already on a rosetta site, the new redesign still shows the suggestion.
For example, on es.wordpress.org, I still get the bar.
On the old design, rosetta did not have this banner at all. We could remove it.
Or we could check the requested site and not show the suggestion for the current site. If someone accepts multiple languages, it would show the others. So on es.w.org I could see this instead:
Related ticket: Language Guess on homepage uses deprecated GlotPress project