Skip to content

Web: Language selector for search results #4

Description

@m-i-l

For the Search and the Newest Pages functions, all results are shown irrespective of language (for Browse there is a language filter). It would be good to have a language selector on the Search and Newest Pages so that users could only show results in the specified language.

Not sure if there are any HTTP headers that could be used to set sensible defaults (e.g. not sure how widely use Accept-Language is).

Given the privacy policy, probably don't want to remember a user's setting this with a cookie.

Activity

  1. changed the title [-]Language selector for search results[/-] [+]Web: Language selector for search results[/+] on Dec 4, 2020
  2. added 2 commits that reference this issue on Oct 23, 2022
  3. m-i-l commented on Oct 29, 2022

    @m-i-l
    ContributorAuthor

    All search results pages (including Newest Pages) now have a Filters button in the same position in the top left, and a Sort by dropdown in top right (where they were already on the Browse Sites page).

    Filters for search results, and Newest pages, are:

    Note that data quality issues limit the usefulness of Filters and Sort by:

    • Selecting a filter will make results that don't have a value for that filter disappear, e.g. 29% pages don't have a language set, most of those might be in English, but if you select the en filter those results will no longer appear.
    • Selecting an order for a sparsely populated field like published date won't make results without a published date disappear, but will mean that the majority which don't have a value for that field will appear at the end in no specific order.

    Current stats are:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions