Try this
name = models.CharField(verbose_name=_('name'),
help_text=_('This is the
help text'), max_length = 255)
On Nov 6, 9:51 am, otonk <[EMAIL PROTECTED]> wrote:
> I did..
>
> from django.db import models
> from django.utils.translation import ugettext_lazy as _
> --- code emmited ---
>
> name = models.CharField(_('name'), help_text=_('This is the
> help text'), max_length = 255)
>
> --- code emmited ---
>
> on the above code, the
> [ help_text=_('This is the help text') ]
> is translated.. however the _('name') is not
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---