'Using filters with the {% trans %} tag (#5972).'

@setup({'i18n23': '{%    load    i18n    %}{%    trans    "Page    not    found"|capfirst|slice:"6:"    %}'})
def test_i18n23(self):

    with translation.override('de'):
        output = self.engine.render_to_string('i18n23')
    self.assertEqual(output, 'nicht    gefunden')
