ojii / django-multilingual-ng

THIS PROJECT IS *NOT* SUPPORTED AND SHOULD NOT BE USED UNLESS YOU KNOW EXACTLY WHAT YOU'RE DOING!!!

Home Page:https://github.com/KristianOellegaard/django-hvad

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

prepopulated_fields inside translation

aronchi opened this issue · comments

I need both "slug" and "name" fields to be translated.

I've tried to put prepopulated_fields inside admin.py but it doesn't work.

django-multilingual seems to solve this problem with this solution:
http://code.google.com/p/django-multilingual/issues/detail?id=23&can=1&q=prepopulated_fields#c9

but it doesn't work for django-multilingual-ng

Any hint? Thanks in advance

You should use "use_prepopulated_fields" attr.

use_prepopulated_fields = {'slug': ('name',)}

regards.