Fix i18n for boolean filter (also fixes #2170)

Same as PR #2206 but squashes commits into a single commit.