Even with generic views, you have custom templates. For anything in
the template, first {% load i18n %} and then follow the instructions
for internationalizing the text on the template.

If it's something coming from your inside model, there's really no
option for internationalizing that data aside from something you do
yourself. To use the i18n functionality, the text has to be known
ahead of time - there's nothing built in to django to automagically
translate words from one language to another.

If this doesn't answer your question - take another stab at asking it.
I'm not 100% sure I understood what you were asking.

-joe

On 7/8/07, Gianluca <[EMAIL PROTECTED]> wrote:
>
> Thanks...but in my case?
> I have thought to extends the "change_form.html" generic template. But
> how can I refer to a field of my data model? ( book name field for
> example)
>
> Thanks.
>
> Joseph Heck ha scritto:
>
> > I think most everything that you'd like to know is detailed out at
> > http://www.djangoproject.com/documentation/i18n/
> >
> > -joe
> >
> > On 7/6/07, Gianluca <[EMAIL PROTECTED]> wrote:
> > >
> > > Hello,
> > > I'm following the Django tutorial about books application. How can I
> > > internationalize this application?
> > > For example, how can I internationalize a field name of insert book
> > > form?
> > > Thanks
> > >
> > > Gianluca
> > >
> > >
> > > >
> > >
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to