Multilaguage shop

33 views
Skip to first unread message

Avraham Serour

unread,
Aug 18, 2013, 12:39:27 PM8/18/13
to djang...@googlegroups.com
Hi,

Django-cms has a great way to handle multilanguage pages, specially the admin, any way I could achieve the same for my product model?

I tried looking at the pagemodel.py code but couldn't grasp it, I thought on just inheriting my product class from Page, but I would be getting some unnecessary functionality like the hierarchy, my model should be simpler than that.

I wouldn't need dynamic fields like the page shows the placeholders for the template, mainly I want the tabbed interface for registering each language.

having the app show the content on a fallback language when no translation is present would be nice too.

any thoughts?

avraham

Simon Luijk

unread,
Aug 18, 2013, 2:57:09 PM8/18/13
to djang...@googlegroups.com
Hi Avraham ,

I use django-mothertongue for this. If you search this group you should find a thread where I explain how I used this package in my project.

Simon


--
You received this message because you are subscribed to the Google Groups "django-shop" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-shop...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Avraham Serour

unread,
Aug 18, 2013, 3:02:15 PM8/18/13
to djang...@googlegroups.com
nope, https://groups.google.com/forum/#!searchin/django-shop/django-mothertongue only returns this thread, in any case I took a look at http://pythonhosted.org/django-mothertongue/

it seems outdated, it uses django-localeurl instead of 'django.middleware.locale.LocaleMiddleware'

are you using it as is or did you change something? what version of django-shop, django etc are you using?

Владислав Тарасенко

unread,
Aug 19, 2013, 7:03:59 PM8/19/13
to djang...@googlegroups.com
You should try django-hvad or django-modeltranslation
Reply all
Reply to author
Forward
0 new messages