<?php
/**
 * Configuration
 *
 */
Configure::write('Translate.models', array(
	'Node' => array(
		'fields' => array(
			'title' => 'titleTranslation',
			'excerpt' => 'excerptTranslation',
			'body' => 'bodyTranslation',
		),
		'translateModel' => 'Nodes.Node',
	),
	'Block' => array(
		'fields' => array(
			'title' => 'titleTranslation',
			'body' => 'bodyTranslation',
		),
		'translateModel' => 'Blocks.Block',
	),
	'Link' => array(
		'fields' => array(
			'title' => 'titleTranslation',
			'description' => 'descriptionTranslation',
		),
		'translateModel' => 'Menus.Link',
	),
));

/**
 * Do not edit below this line unless you know what you are doing.
 *
 */
foreach (Configure::read('Translate.models') as $translateModel => $config) {
	Croogo::hookBehavior($translateModel, 'Translate.CroogoTranslate', $config);
	Croogo::hookAdminRowAction(Inflector::pluralize($translateModel) . '/admin_index', 'Translate', 'admin:true/plugin:translate/controller:translate/action:index/:id/' . $translateModel);
}

<?php
/**
 * Configuration
 *
 */
Configure::write('Translate.models', array(
	'Node' => array(
		'fields' => array(
			'title' => 'titleTranslation',
			'excerpt' => 'excerptTranslation',
			'body' => 'bodyTranslation',
		),
		'translateModel' => 'Nodes.Node',
	),
	'Block' => array(
		'fields' => array(
			'title' => 'titleTranslation',
			'body' => 'bodyTranslation',
		),
		'translateModel' => 'Blocks.Block',
	),
	'Contact' => array(
		'fields' => array(
			'title' => 'titleTranslation',
			'body' => 'bodyTranslation',
		),
		'translateModel' => 'Contacts.Contact',
	),
	'Link' => array(
		'fields' => array(
			'title' => 'titleTranslation',
			'description' => 'descriptionTranslation',
		),
		'translateModel' => 'Menus.Link',
	),
));

/**
 * Do not edit below this line unless you know what you are doing.
 *
 */
foreach (Configure::read('Translate.models') as $translateModel => $config) {
	Croogo::hookBehavior($translateModel, 'Translate.CroogoTranslate', $config);
	Croogo::hookAdminRowAction(Inflector::pluralize($translateModel) . '/admin_index', 'Translate', 'admin:true/plugin:translate/controller:translate/action:index/:id/' . $translateModel);
}

Enable translations for Contact fields
Enable translations for Contact fields

Closes #387
