[TYPO3-dev] Records not translated properly when "sys_language_uid" is used as "type" field in TCA
Roland
most.wanted at gmx.at
Fri Nov 23 09:03:27 CET 2012
hi,
> Check the $TCA configuration for your table in ext_tables.php:
> $TCA['tx_frm2newpm_person'] = array (
> 'ctrl' => array (
> ....
> 'languageField' => 'sys_language_uid',
> 'transOrigPointerField' => 'l10n_parent',
> 'transOrigDiffSourceField' => 'l10n_diffsource',
> ....
>
> I would guess languageField is not set correctly.
should be ok, because if i do not use a type field by removing the
configuration for the type field, everything works like a charm.
--- quote ---
'ctrl' => array(
'title' =>
'LLL:EXT:myextension/Resources/Private/Language/locallang_db.xlf:tx_myextension_domain_model_product',
'label' => 'name',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
// 'type' => 'sys_language_uid',
'dividers2tabs' => TRUE,
'versioningWS' => 2,
'versioning_followPages' => TRUE,
'origUid' => 't3_origuid',
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
'delete' => 'deleted',
'enablecolumns' => array(
'disabled' => 'hidden',
'starttime' => 'starttime',
'endtime' => 'endtime',
'fe_group' => 'fe_group',
),
'searchFields' => 'name,',
'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) .
'Configuration/TCA/Product.php',
'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) .
'Resources/Public/Icons/tx_myextension_domain_model_product.gif'
),
--- /quote ---
the extension was kickstarted with EXT:extension_builder.
kind regards
roland
More information about the TYPO3-dev
mailing list