the insructions seen to be out of date or something. I was getting errors following:

// More fields for a specific content type 'nodetype' only.
$conf['i18nsync_fields_node_nodetype'] = array(
  'field3' => t('Field 3 name'),
   ...
);

so after some inspection I found this worked for me (example for Ubercart Product):

$conf['i18nsync_fields_node_product']['product'] = array(
	'#title' 	=> 'Ubercart Product',
	'#options'	=> array(
		'list_price' => 'List Price',
		'sell_price' => 'Sell Price',
		'cost' => 'Cost',
	)
);

note the t() doesn't work in the settings.php file as it has not been included yet. More of a reason to support my other suggestion for a hook.

Comments

damien tournoud’s picture

Project: Drupal core » Internationalization
Version: 6.x-dev » 6.x-1.x-dev
Component: documentation » Code

I guess you wanted to post this issue under the "internationalization" project.

cpill’s picture

ja! thanks :P

jose reyero’s picture

Status: Active » Fixed

The hook is already there:

    // Give a chance to modules to change/remove/add their own fields
    drupal_alter('i18nsync_fields', $fields, $type);

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.