[Answer]-Django Internationalization: translation string not fully translated

1👍

我觉得你需要做的是自定义表单错误提示消息。
我给有一段示例代码,你感受下。

(I think you just need to define the custom error message in the Form.
like this:)

class UserForm(forms.Form):
    username = forms.EmailField(required=True, error_messages={
        'required':'your message here', 'invalid':'your message here'})
👤Yohn

Leave a comment