Making WordPress.org

Opened 3 years ago

Closed 2 years ago

#5893 closed defect (bug) (fixed)

Plugin Search: Translated search not working

Reported by: eugeneernoult's profile 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 years ago.
Plugin search results for mehrsprachig
Capture d’écran 2021-09-08 à 10.29.04.png (381.7 KB) - added by eugeneernoult 3 years ago.
Plugin search results for "traduction"

Download all attachments as: .zip

Change History (7)

@eugeneernoult
3 years ago

Plugin search results for mehrsprachig

@eugeneernoult
3 years ago

Plugin search results for "traduction"

#1 @fierevere
3 years ago

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

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


3 years ago

#3 @tellyworth
3 years 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
3 years 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

#5 @dd32
2 years ago

  • Resolution set to fixed
  • Status changed from new to closed

This appears fixed now, likely via #1496

Note: See TracTickets for help on using tickets.