WordPress.org

Making WordPress.org

Opened 3 months ago

Last modified 2 months ago

#5893 new defect

Plugin Search: Translated search not working

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

Description

Plugin searches in translated languages (other than English) look broken.

Examples:

How is Elasticsearch handling translated readme files?

Attachments (2)

Capture d’écran 2021-09-08 à 10.29.27.png (199.0 KB) - added by eugeneernoult 3 months ago.
Plugin search results for mehrsprachig
Capture d’écran 2021-09-08 à 10.29.04.png (381.7 KB) - added by eugeneernoult 3 months ago.
Plugin search results for "traduction"

Download all attachments as: .zip

Change History (6)

@eugeneernoult
3 months ago

Plugin search results for mehrsprachig

@eugeneernoult
3 months ago

Plugin search results for "traduction"

#1 @fierevere
3 months ago

Version 0, edited 3 months ago by fierevere (next)

This ticket was mentioned in Slack in #meta by tellyworth. View the logs.


3 months ago

#3 @tellyworth
3 months ago

Translated plugin readme content is indexed for ElasticSearch when at least 40% of the content has been translated: https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.php#L1067

It looks like many of the plugins you're expecting to see have incomplete French translations. For example https://translate.wordpress.org/locale/fr/default/wp-plugins/translatepress-multilingual/ is at 39% (just below the threshold). https://translate.wordpress.org/locale/fr/default/wp-plugins/gtranslate/ is at 0% for its readme. Once those are at 40%+ they should be indexed and appear in the results for those search terms.

#4 @eugeneernoult
2 months ago

Hey @tellyworth, thank you for that info, I didn't know about that 40% minimum.

We've updated the readme of our plugin and translated in several locales to be able to be over the 40% threshold like in French for example: https://translate.wordpress.org/locale/fr/default/wp-plugins/weglot/

But our plugin still doesn't appear to be indexed on relevant keywords:
https://fr.wordpress.org/plugins/search/traduction/ ("traduction" is mentioned 19 times in our readme)
https://fr.wordpress.org/plugins/search/multilingue/ ("multingue" is mentioned 26 times in our readme)

Any idea why?

Thank you

Note: See TracTickets for help on using tickets.