On 29-Sep-06, at 9:16 PM, RajeshD wrote:
> It's not a good idea to mark the field_name for i18n translation. The > field name's value behaves like a variable name so you want that value > to be fixed and not translated. > > Your field would be defined like this: > > forms.CheckboxField(field_name='vote') > > The template is where you would mark the label 'Vote' for translation. > It would be something like this: > > {% load i18n %} > <p>{{ form.vote }} <label for="id_vote">{% trans 'Vote' %}</label></p> did this, but am still not getting a checkbox - i only get 'Vote:' and no checkbox. -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---