Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Application names i18n in the admin app
Python
branch: next

This branch is 8 commits ahead, 4 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app_name_translation_in_admin
README.rst
setup.py

README.rst

Django app name translation in admin

This application allows translation of application names in the admin interface.

Works with Django 1.4.x (for Django 1.3.x, use django-1.3.x branch). Installation ------------

Using pip, you can install from the git repo.

For Django 1.4.x (using next branch):

pip install git+git://github.com/bmihelac/django-app-name-translation-in-admin.git@next

Previous versions (using django-1.3.x branch):

pip install git+git://github.com/bmihelac/django-app-name-translation-in-admin.git@django-1.3.x

Configuration and usage

  1. Put app_name_translation_in_admin into your INSTALLED_APPS before django.contrib.admin:

    INSTALLED_APPS = (
       ...
       'app_name_translation_in_admin',
       'django.contrib.admin',
       ...
    )
    
  2. Define the app names and mark them for translations. Use title cased app name.

from django.utils.translation import ugettext_lazy as _

_(u'Auth') # for auth app_name
_(u'Sites')
_(u'User_Addresses') # for user_addresses app_name

Notes

Related tickets:

Something went wrong with that request. Please try again.