On Tue, May 4, 2010 at 3:20 PM, Jacek <jacek.to...@gmail.com> wrote: > Well, I need to translate field names (labels) in register form > (UserCreationForm). I have checked that django.contrib.auth.forms use > hooks for internationalization (I mean ugettext_lazy). > But when I run django-admin.py makemessages, my output locale file > doesn't contain any strings from the form. > What should I do to translate field names (labels) in UserCreationForm? > > These strings (should) already (be) translated in the Django-provided translations, since they are marked for translation in the Django source tree, so I'm not understanding why you say you need to translate them? If you use this Django-provided form in your project, you ought to just get the Django-provided translations when you use the form and have the language set to some non-English value. Are they not translated in the language you are using or are you not happy with the provided translations?
Karen -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.