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.
views_handler_filter.inc
$any_label = variable_get('views_exposed_filter_any_label', 'old_any') == 'old_any' ? '' : t('- Any -'); [position 469:94]]
Comments
Comment #1
dagmarThis is not a bug, it was a decision: #348130: Can't translate <Any>
Comment #2
merlinofchaos CreditAttribution: merlinofchaos commentedThere's a setting to change the use of
<Any>
to- Any -
which is translatable. Use that.Comment #3
NoRandom CreditAttribution: NoRandom commentedSorry, but where is the setting? I can't find it.
Regards.
Comment #4
Fat Pixel CreditAttribution: Fat Pixel commentedMacarro,
it's located under "Site building > Views > Tools"
on the bottom of the page you'll find the option that says: "Label for "Any" value on optional single-select exposed filters:"
Comment #5
NoRandom CreditAttribution: NoRandom commentedThanks, Fat Pixel, I've translated it now.
Weird thing is I already had it translated to "<< Cualquiera >>" in spanish since I can choose it in the drop-down list but it didn't work.
Anyway, "- Cualquiera -" is also fine.
Comment #6
AdrianB CreditAttribution: AdrianB commentedI was just going to file a bug about this, but fortunately I did a search before submitting and not only did I find that this issue already existed, I also learned about the Views > Tools option which I had no idea existed. Thanks!
Comment #7
drupalfan2 CreditAttribution: drupalfan2 commented>>it's located under "Site building > Views > Tools"
Thank you for this hint!
Comment #8
candelas CreditAttribution: candelas commentedthanks for the tip!
when i installed views i didnt know what it meant.
i put closed(fixed) since you made a solution for this.
also for people having the problem not to fill a new issue.
i hope it is ok...
thanks a lot :)