def get_i18n_js(self):

        try:
            js_translations = gettext.translation(
                'jsmessages', 'locales', fallback=False,
                languages=self.request.environ[
                    'i18n_utils.preferred_languages'],
                codeset='utf-8')
        except IOError:
            template = self.jinja2_env.get_template('null_i18n_js.jinja2')
            return template.render()

        translations_dict = convert_translations_to_dict(js_translations)
        template = self.jinja2_env.get_template('i18n_js.jinja2')
        return template.render(
            {'translations': json.dumps(translations_dict, indent=1)})
Given a path to a management directory, returns a list of all the
dataset/ETHPy150Open GoogleCloudPlatform/python-docs-samples/appengine/i18n/i18n_utils.py/BaseHandler.get_i18n_js--crossover with--dataset/ETHPy150Open django-nonrel/djangoappengine/djangoappengine/boot.py/find_commands