Active Translation

drewish - May 19, 2008 - 21:04

The Active Translation module is designed for internationalized sites where translated versions of content need to be displayed when available but if they're not the original, untranslated content should be displayed. If several regional versions of a language are available these will be used as substitutions.

By default Drupal's node listings show all content. So if you translate a node, both the original and translations are displayed. The Internationalization module, another contrib project, tried to improve on this on this. It gives you several options for rewriting queries to list nodes. You can limit them to nodes that are:

  • user's language
  • user's language & language neutral
  • user's language & site's default language OR language neutral
  • site's default language & language neutral

If you only have two languages this works out well. Untranslated content is marked as language neutral, and once it is translated it you set the language on the original node. However this doesn't work when you have three or more languages. Once you set the language on the original it will disappear from listings in the languages that haven't yet been translated.

This is where Active Translation is designed to help. Its query rewriting displays nodes that are:

  • language neutral & (translation in user's language OR original node)

This way your users always see all the content with no duplicates in other languages. If a translation is available they'll see that, otherwise they'll get the original, untranslated node.

Releases

Official releasesDateSizeLinksStatus
6.x-1.02008-Jun-2010.98 KBRecommended for 6.xThis is currently the recommended release for 6.x.
Development snapshotsDateSizeLinksStatus
6.x-1.x-dev2008-Jul-1711.09 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
 
 

Drupal is a registered trademark of Dries Buytaert.