'Error in translation file should not crash template rendering (#18393).
(%(person) misses a \'s\' in fr.po, causing the string formatting to fail)'

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

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