'The javascript_catalog can be deployed with language settings'

def test_jsi18n(self):

    for lang_code in ['es', 'fr', 'ru']:
        activate(lang_code)
        catalog = gettext.translation('djangojs', locale_dir, [lang_code])
        trans_txt = catalog.ugettext('this    is    to    be    translated')
        response = self.client.get('/views/jsi18n/')
        self.assertContains(response, javascript_quote(trans_txt), 1)
