Hi there,
I am trying to get I18N working for a website. So far the language
selection, custom messages and their translation in templates using {%
trans "" %} etc. works like a charm. However I can't quite figure out
how to get things like the Paginator (it displays <Page 1 of 5> and
such stuff) or field names in forms generated with the forms module.
Code such as the following:
class SearchForm(forms.Form):
names = forms.CharField()
places = forms.CharField()
dates = forms.CharField()
This will field display on the form with labels like "Names",
"Places", "Dates" and so on, but I can't figure out how to tell the
i18n framework that this should be translated.
Any help appreciated!
Chris
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---