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)
Change History (3)
by , 16 years ago
Attachment: | translation.py added |
---|
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
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.