'The javascript_catalog can be deployed with language settings'

def test_jsi18n(self):

    for lang_code in ['es', 'fr', 'ru']:
        with override(lang_code):
            catalog = gettext.translation('djangojs', locale_dir, [lang_code])
            trans_txt = catalog.gettext('this    is    to    be    translated')
            response = self.client.get('/jsi18n/')
            self.assertContains(response, json.dumps(trans_txt), 1)
            if (lang_code == 'fr'):
                self.assertContains(response, '"month    name\\u0004May":    "mai"', 1)
