Making Attachments Appear Across Translations

Drupal 6 supports translation of content with the core Content Translation module. So you can create a page in English, then translate the page to Dutch.

But what if you attach a file to the English page? It does not show up on your Dutch translation. And what if you are using CCK and FileField? That's the case that I want to cover in this article.

First, I installed Drupal 6.6, enabled the Locale module, and added the Dutch translation (for the proper way of installing translations, see Addison Berry's screencast, Installing Drupal with a Translation).

I installed CCK 6.x-2.1 and enabled the Content module and some others (Node Reference, Number, Text, Option Widgets).

I installed the 6.x3.x-dev snapshot of FileField (it's better to use an actual release but I saw some bug fixes going into the module and figured I'd test it). I enabled FileField module.

I enabled the core Content Translation module.

Then I installed i18n 6.x-1.0-BETA6, which is the latest release of the Internationalization Module. I enabled the Internationalization and Synchronize Translations modules.

I needed a CCK content type to test with so I created one:

read more

User login

Similar

KDI proposals generate $178,000 for Drupal development

The October review meeting of the Knight Drupal Initiative saw three new proposals accepted by the community.