#5518: [newform-admin] - capitalized verbose names for models
-----------------------------------------------------+----------------------
Reporter: Petr Marhoun <[EMAIL PROTECTED]> | Owner: nobody
Status: reopened | Component:
Internationalization
Version: newforms-admin | Resolution:
Keywords: admin, verbose_name | Stage:
Design decision needed
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
-----------------------------------------------------+----------------------
Comment (by Petr Marhoun <[EMAIL PROTECTED]>):
I don't understand I didn't think about it. (My applications are only
bilingual, but German is the most probable third language). So my solution
is bad but opposite approach should work - to use "uncapfirst" expressions
for labels.
I think there are two orthogonal problems:
1. It should be possible to use the same format in models and forms -
django.contrib.admin and some utility functions in core should transform
it to the right format.
2. The transformation function should work for all languages, not only
for most of them.
I will try to solve point one. I want to change my verbose_name and labels
to have first letter low and to fix all problems with capfirst.
The second idea (to replace capfirst with something better) is quite
ambitious. I don't think that django supports localized functions and
filters. Maybe mir should post to django-i18n - for me the current task is
patch for problem one.
--
Ticket URL: <http://code.djangoproject.com/ticket/5518#comment:9>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" 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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---