'Error in translation file should not crash template rendering (#16516).
(%(person)s is translated as %(personne)s in fr.po).'

@override_settings(LOCALE_PATHS=[os.path.join(here, 'other', 'locale')])
def test_bad_placeholder_1(self):

    with translation.override('fr'):
        t = Template('{%    load    i18n    %}{%    blocktrans    %}My    name    is    {{    person    }}.{%    endblocktrans    %}')
        rendered = t.render(Context({'person': 'James'}))
        self.assertEqual(rendered, 'My    name    is    James.')
