Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The description field added by Better Exposed Filters is not possible to translate. I don't know how translations is handled in views and if it's possible to hook into that.
Comments
Comment #1
anders.fajerson CreditAttribution: anders.fajerson commentedComment #2
mikeker CreditAttribution: mikeker commentedYou're right. And I can fix this in BEF, though I'm about half way through a change to how descriptions work (allowing them for all filters as opposed to just ones that can be checkbox/radio buttoned) so I'll roll the change into that fix.
Thanks for the bug report!
Comment #3
mikeker CreditAttribution: mikeker commentedSorry for taking so long to get back to this issue -- I'm going through the queue and finding quite a few items I let slip through the cracks!
Anyhow, the API page for the t() function says
and then outlines several reasons why, the most relevant being that the translated strings are not refreshed when the user-generated content is changed so the translation will be out of date.
Sorry, have to close this won't fix...