'Same as above with the difference that there IS an \'en\' translation
available. The Javascript i18n view must return a NON empty language catalog
with the proper English translations. See #13726 for more details.'

def test_nonenglish_default_english_userpref(self):

    extended_apps = (list(settings.INSTALLED_APPS) + ['view_tests.app0'])
    with self.settings(LANGUAGE_CODE='fr', INSTALLED_APPS=extended_apps):
        with override('en-us'):
            response = self.client.get('/views/jsi18n_english_translation/')
            self.assertContains(response, javascript_quote('this    app0    string    is    to    be    translated'))
