Using the search submodule of display search, the suggestions for empty search results are not translated into german. Instead, the english suggestions are displayed:
- Check if your spelling is correct.
- Remove quotes around phrases to search for each word individually. bike shed will often show more results than "bike shed".
- Consider loosening your query with OR. bike OR shed will often show more results than bike shed.
Therefore, I suggest the following change in ds_search.module ( line 67 )
old:
$build['search_empty'] = array('#markup' => t('<ul><li>Check if your spelling is correct.</li><li>Remove quotes around phrases to search for each word individually. <em>bike shed</em> will often show more results than <em>"bike shed"</em>.</li><li>Consider loosening your query with <em>OR</em>. <em>bike OR shed</em> will often show more results than <em>bike shed</em>.</li></ul>'));
new:
$build['search_empty'] = array('#markup' => search_help('search#noresults', drupal_help_arg()));
Comments
Comment #1
swentel commentedRight, makes sense, committed and pushed in 7.x-2.x, moving to 8.x-2.x for fixing it there too.
Comment #2
swentel commentedcommitted and pushed to 8.x-2.x
Comment #2.0
swentel commentedbetter description