Exposed sort criteria in views are not translated

Created on 27 March 2019, over 5 years ago
Updated 17 February 2023, over 1 year ago

In a view definition, let's say a page, that has sort criteria exposed so the user could select them, the "Sort by" text that appears in front of the sort criteria is always in English, regardless the UI language selected. Plus, the "Order" combo-box always shows "Asc" and "Desc" as options, regardless of the UI language selected, even though in my language these strings are translated.

Please see attached screenshot.

πŸ› Bug report
Status

Closed: outdated

Version

10.1 ✨

Component
ViewsΒ  β†’

Last updated about 8 hours ago

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡³πŸ‡ΏNew Zealand quietone

    I tested this on Drupal 10.1.x, umami install, and was not able to reproduce the problem. I used a duplicate of the content view. I was able to add translations for the sorts at en/admin/structure/views/view/duplicate_of_content/translate/es/edit. And they appeared correctly in the view.

    My results support #2. Therefor, I am closing this issue.

    If you are experiencing this problem on a supported version of Drupal reopen the issue, by setting the status to 'Active', and provide complete steps to reproduce the issue β†’ (starting from "Install Drupal core").

Production build 0.71.5 2024