Opened 3 years ago
Closed 2 years ago
#5893 closed defect (bug) (fixed)
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:
- Searching for formulaire (form in French)https://fr.wordpress.org/plugins/search/formulaire/ doesn’t bring up any of the major form plugins
- Searching for mehrsprachig (multilingual in German) https://de.wordpress.org/plugins/search/mehrsprachig/ only returns 1 result (unrelated to multilingual)
- Same for traduction (translate in French) https://fr.wordpress.org/plugins/search/traduction/: None of the major translation plugins are indexed
How is Elasticsearch handling translated readme files?
Attachments (2)
Change History (7)
#1
@
3 years ago
related or duplicate of:
https://meta.trac.wordpress.org/ticket/1496
This ticket was mentioned in Slack in #meta by tellyworth. View the logs.
3 years ago
#3
@
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
@
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
Plugin search results for mehrsprachig