[TYPO3-english] inline record only translatable one time
Bas van der Togt
bas at profinit.com
Mon Jan 18 21:07:59 CET 2016
Hello!
My package table has a relation with a price table which is configured
with type inline. This is all working fine. But i can only translate a
price record one time. The second time i try to translate a record
nothing happens. The record keeps greyd out and i dont see anything happen.
So:
i create a pagage record with 1 price child record and i save the package.
Then i translate the package to dutch and translate the price child record.
Now i translate the package record to german which works. But i cant
translate the price record.
Is this a bug?
My TCA:
Package table:
...
'prices' => array(
'exclude' => 0,
'label' =>
'LLL:EXT:sis/Resources/Private/Language/locallang_db.xlf:tx_sis_domain_model_package.prices',
// 'l10n_mode' => 'exclude',
'config' => array(
'type' => 'inline',
'foreign_table' => 'tx_sis_domain_model_price',
'foreign_field' => 'package',
'maxitems' => 9999,
'appearance' => array(
'collapseAll' => 1,
'expandSingle' => 1,
'useSortable' => 0,
'levelLinksPosition' => 'both',
'showSynchronizationLink' => 1,
'showPossibleLocalizationRecords' => 1,
'showAllLocalizationLink' => 1
),
),
),
...
Price table
...
'package' => array(
'exclude' => 0,
'l10n_mode' => 'exclude',
'label' =>
'LLL:EXT:sis/Resources/Private/Language/locallang_db.xlf:tx_sis_domain_model_price.package',
'config' => array(
'type' => 'select',
'renderType' => 'selectSingle',
'foreign_table' => 'tx_sis_domain_model_package',
'foreign_table_where' => 'AND
tx_sis_domain_model_package.sys_language_uid IN (-1,0) ORDER BY
tx_sis_domain_model_package.title',
'minitems' => 1,
'maxitems' => 1,
),
),
...
Regards,
Bas
More information about the TYPO3-english
mailing list