Opened 6 years ago

Closed 6 years ago

#9601 closed (wontfix)

Translation Field

Reported by: riccardodivirgilio Owned by: nobody
Component: Uncategorized Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

I have found several codes on internet that creates a table that is able

to translate in the current language.
I have made a very short and powerful code to do this.

you can declare a CharField in the usal way you declare a CharField in
Django, but it creates a column inside the database for every language
that he founds inside the settings

it also create a method that returns the right field for the current
languages

it orders the models inside the Django Admin if you set inside the
modelAdmin list_display = 'name',

Attachments (1)

translation.py (1.8 KB) - added by riccardodivirgilio 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by riccardodivirgilio

comment:1 Changed 6 years ago by ramiro

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

See http://groups.google.com/group/django-developers/browse_thread/thread/170a8a19cfb5bb68/0584d97e5d68a056?hl=en&lnk=gst and other similar discussions to find why this kind of functionality isn't added to Django itself.

comment:2 Changed 6 years ago by jacob

  • Resolution set to wontfix
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.
Back to Top