I am using Django's built-in comments app. But I have met one problem.
The default label for the comments form is English(e.g. "Name","Email Address"), but I'd like to change them into Chinese. So I went to
name = forms.CharField(label=_("姓名 Name"), max_length=50)
email = forms.EmailField(label=_("邮箱 Email"))
url = forms.URLField(label=_("网站 URL"), required=False)
comment = forms.CharField(label=_("评论 Comment"), widget=forms.Textarea,
SyntaxError: Non-ASCII character '\xe5' in file /usr/lib/python2.7/site-packages/django/contrib/comments/forms.py on line 98, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
comments app is already translated to Chinese, you don't need to do that yourself.
You will just need to enable internationalization in your django configuration:
USE_I18N = True LANGUAGES = ( ('zh_CN', 'Chinese'), )
You can roll back all the changes you made to the