Just tested, using from django.utils.translation import ugettext as _ pybabel does not extract the strings.
any other ideias, please. Luis On Jan 21, 10:30 am, opium <[EMAIL PROTECTED]> wrote: > sure. why not? > > > So should i do like this: > > > def modalconfirm(context, name, caption, question, yesfunction, > > nofunction=None): > > """ > > Shows a modal confirm dialog > > """ > > > return { > > 'modal_name': name, > > 'modal_caption': _(caption), > > 'modal_question': _(question), > > 'modal_yesfunction': yesfunction, > > 'modal_nofunction': nofunction, > > } > > > this gives no error but does it really work? --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---