i18nsync.module

Version 1.1.2.35 (checked in on 2010/03/04 at 20:11:10 by jareyero)

Internationalization (i18n) package. Synchronization of translations

Keeps vocabulary terms in sync for translations. This is a per-vocabulary option.

Ref: http://drupal.org/node/115463

Notes: This module needs to run after taxonomy, i18n, translation. Check module weight.

@ TODO Test with CCK when possible, api may have changed.

Functions

NameDescription
i18nsync_file_referencesImplementation of hook_file_references()
i18nsync_form_alterImplementation of hook_form_alter(). Vocabulary options Content type options
i18nsync_helpImplementation of hook_help().
i18nsync_nodeapiImplementation of hook_nodeapi().
i18nsync_node_available_fieldsReturns list of available fields for given content type.
i18nsync_node_delete_preparePrepare node for deletion, work out synchronization issues
i18nsync_node_delete_submitSubmit callback for node delete confirm node multiple delete confirm
i18nsync_node_fieldsReturns list of fields to synchronize for a given content type.
i18nsync_node_taxonomySynchronize taxonomy.
i18nsync_node_translationSynchronizes fields for node translation.
i18nsync_node_translation_attached_nodeNode attachments (CCK) that may have translation.
i18nsync_node_translation_filefield_fieldTranslating an filefield (cck).
i18nsync_node_translation_nodereference_fieldTranslating a nodereference field (cck).
i18nsync_node_translation_reference_fieldHelper function to which translates reference field. We try to use translations for reference, otherwise fallback. Example: English A references English B and English C. English A and B are translated to German A and B, but English C is not. The...
i18nsync_prepare_translationPrepare node translation. Copy over sincronizable fields.
i18nsync_themeImplementation of hook_theme().
theme_i18nsync_workflow_checkboxTheming function for workflow checkboxes.
_i18nsync_cck_fieldsHelper function to get list of cck fields
_i18nsync_node_translationsGet node translations if any, optionally excluding this node