Facets less and more labels can't be translated

Created on 18 July 2022, about 2 years ago
Updated 12 July 2024, about 2 months ago

Problem/Motivation

When a using facets with a multinlingual website, the "less and more labels" can't be translated.

Steps to reproduce

  • Install Facets module and create a facet with more than the limit items
  • Configure your website for multilingual usage
  • You can't find your strings for translation

Proposed resolution

Attached patch : use the "t" function for the labels.

Remaining tasks

Suggestion : commit this patch

Regards,

HervΓ©

πŸ’¬ Support request
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡«πŸ‡·France herve

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.

  • πŸ‡©πŸ‡ͺGermany svenseeberg

    While it is nice to be able to adjust the label text, the patch provided by herve would be very useful for sites with multiple languages. Strings should always be translatable.

Production build 0.71.5 2024