OdifYltsaeb / django-multilingual

Automatically exported from code.google.com/p/django-multilingual
MIT License
0 stars 0 forks source link

Languages in the database! #27

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Here's my patch which moves the language list into the database.

Original issue reported on code.google.com by smur...@gmail.com on 9 Nov 2007 at 2:58

Attachments:

GoogleCodeExporter commented 8 years ago
Of course this should be an enhancement, not a defect, but I haven't figured 
out how
to tell Google Code that.  :-/

Original comment by smur...@gmail.com on 9 Nov 2007 at 3:00

GoogleCodeExporter commented 8 years ago
*Sigh* This patch reads settings.LANGUAGES from the database.

The list is still static, i.e. you get to reload your web server if you add 
another
language, but that can't be helped without major Django surgery.

Original comment by smur...@gmail.com on 9 Nov 2007 at 3:32

Attachments:

GoogleCodeExporter commented 8 years ago
Unfortunately, right now the admin falls flat on its belly trying to edit a 
record
which doesn't have a complete set of translations.

As that's what happens when you add a new language, I have no good idea how to 
fix
that, as I'm not fluent in the admin internals. Ideas appreciated.

Original comment by smur...@gmail.com on 10 Nov 2007 at 2:14

GoogleCodeExporter commented 8 years ago
Ah. Fixed the problem with the admin. Life starts being good again. *g*

Original comment by smur...@gmail.com on 10 Nov 2007 at 3:14

Attachments:

GoogleCodeExporter commented 8 years ago
New version of admin patch (mis-edit).

Original comment by smur...@gmail.com on 10 Nov 2007 at 3:41

Attachments:

GoogleCodeExporter commented 8 years ago
Will this functionality make it to the trunk?

Original comment by eallik on 22 Jun 2008 at 4:02

GoogleCodeExporter commented 8 years ago

Original comment by info%cor...@gtempaccount.com on 26 Sep 2008 at 11:00