Opened 16 years ago

Closed 16 years ago

#9601 closed (wontfix)

Translation Field

Reported by: Riccardo Di Virgilio 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: no UI/UX: no

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 Riccardo Di Virgilio 16 years ago.

Download all attachments as: .zip

Change History (3)

by Riccardo Di Virgilio, 16 years ago

Attachment: translation.py added

comment:1 by Ramiro Morales, 16 years ago

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 by Jacob, 16 years ago

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top