Skip to content

Multi lingual content

sitaktif edited this page Jun 17, 2012 · 8 revisions

What are the options for multi-lingual content handling with Arkestra (apart from cms.Pages obviously, since that already has the required support)?

The main sticking points are likely to be:

  • PlaceholderField compatibility
  • (abstract) base class inheritance

Then of course some approaches will require a lot of migration work, but that will be tedious more than difficult.

Possible candidates

django-modeltranslation

https://code.google.com/p/django-modeltranslation/

  • has a simple and elegant model registration system
  • may not be easy to adapt for PlaceholderField
  • does not allow adding/removing languages without schemamigrations

simple-translation

https://github.com/fivethreeo/simple-translation

django-hvad (django-nani)

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

  • requires changes to every model field requiring translation
  • more seriously, incompatible with fields on abstract base classes
  • built for performance (whether this goal is met or not is currently not proven)
  • can work with placeholder fields

django-transmeta

http://code.google.com/p/django-transmeta/

  • making models translatable looks quite simple
  • Does not allow adding/removing languages without schemamigrations

django-easymode

http://packages.python.org/django-easymode/

  • making models translatable looks quite simple (decorators)
  • In admin panel: can either have all translations at once, or only the current language one (with link to other langs)
  • Model translation is only a small part of a bigger module (meant to "mak[e] xml based flash websites" (!))
  • Does not allow adding/removing languages without schemamigrations

Rejected candidates

https://github.com/dokterbob/django-multilingual-model django-multilingual-model

  • not clear whether it will support FKs
  • seems to be a minimal solution

transdb

http://code.google.com/p/transdb

  • appears abandoned, last updated 2008

django-multilingual

http://code.google.com/p/django-multilingual/

  • abandoned

django-multilingual-ng

https://github.com/ojii/django-multilingual-ng

  • based on django-multilingual
  • abandoned by the developer for nani/hvad's approach
  • only compatible with Django up to 1.2.7
  • quote by ojii (author): "DO NOT USE THIS!!!!"