def get_formset(self, request, obj=None, **kwargs):
        FormSet = super(MultilingualInlineAdmin, self).get_formset(request, obj, **kwargs)
        FormSet.use_language = GLL.language_code
        FormSet.ml_fields = {}
        for name, field in get_translated_fields(self.model, GLL.language_code):
            fieldname = '%s%s' % (MULTILINGUAL_INLINE_PREFIX, name)
            FormSet.form.base_fields[fieldname] = self.formfield_for_dbfield(field, request=request)
            FormSet.ml_fields[name] = fieldname
        return FormSet
dataset/ETHPy150Open hzlf/openbroadcast/website/multilingual/admin.py/MultilingualInlineAdmin.get_formset/original