#13191: Localization of application names
----------------------------------+-----------------------------------------
 Reporter:  IsakovAN              |       Owner:  nobody    
   Status:  new                   |   Milestone:  1.2       
Component:  Internationalization  |     Version:  1.1       
 Keywords:                        |       Stage:  Unreviewed
Has_patch:  0                     |  
----------------------------------+-----------------------------------------
 I have a solution for localizing application names in admin interface.
 First of all I have replace "{{ app_label|capfirst }}" with "{% trans
 app_label.title %}" in all admin templates breadcrumbs and aplication
 lists:
 app_index.html
 base.html
 base_site.html
 change_form.html
 change_list.html
 delete_confirmation.html
 delete_selected_confirmation.html
 index.html
 object_history.html

 Than I have simple translate it with makemessages/compilemessages. It is
 only problem with "/admin/app_name/" pages:
 "'title': _('%s administration') % capfirst(app_label)," hardcoded in
 /django/contrib/admin/sites.py seems bad idea. I suggest to replace it
 with
 "'title': _('%s administration') % _(capfirst(app_label)),"

 I can make a full patch if you interesting.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/13191>
Django <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.

Reply via email to