def get_form(self, request, obj=None, **kwargs):    
        # assign language to inlines, so they now how to render
        for inline in self.inline_instances:
            if isinstance(inline, MultilingualInlineAdmin):
                inline.use_language = GLL.language_code
        
        Form = super(MultilingualModelAdmin, self).get_form(request, obj, **kwargs)
        
        Form.ml_fields = {}
        for name, field in get_default_translated_fields(self.model):
            if not field.editable:
                continue
            form_field = self.formfield_for_dbfield(field, request=request)
            local_name = "%s_%s" % (name, GLL.language_code)
            Form.ml_fields[name] = form_field
            Form.base_fields[name] = form_field
            Form.use_language = GLL.language_code
        return Form
dataset/ETHPy150Open hzlf/openbroadcast/website/multilingual/admin.py/MultilingualModelAdmin.get_form/original