Project

General

Profile

Actions

Feature #81738

open

Create new IRRE CE in already translated CE v.7.6.19

Added by Eduard Luft almost 7 years ago. Updated about 4 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Localization
Target version:
-
Start date:
2017-06-29
Due date:
% Done:

0%

Estimated time:
PHP Version:
7.1
Tags:
Complexity:
Sprint Focus:

Description

Description:
1. Create default plugin with IRRE functionality.
2. Translate it to a language.
3. Go into the translated plugin and create now an IRRE CE.

Expectations:
Should not be possible or translate with warning "inconsistent content detected"

Result:
Translate with sys_language_uid 0... (wrong language)

Actually possible solution:
Using of TCA option: customControls with myUserFuncMethod for disabling create buttons in translated languages

Better solutions:
- New TCA configuration => disable option of the create button in translated languages
- Disable create functionality in translated languages
- Translate into correct language with warning "inconsistent content detected"

TCA configuration:

'ttcontent_pid' => array(
    'exclude' => 0,
    'label' => 'LLL:EXT:'.$_EXTKEY.'/Resources/Private/Language/locallang_be.xlf:'.$tmp_rbc_table.'.ttcontent_pid',
    'config' => array(
        'type' => 'select',
        'renderType' => 'selectSingle',
        'foreign_table' => 'tt_content',
        'foreign_table_where' => 'AND tt_content.pid=###CURRENT_PID### AND tt_content.CType="'.$tmp_rbc_ctype.'"',
        'maxitems' => 1,
        'showPossibleLocalizationRecords' => 1,
        'showRemovedLocalizationRecords' => 1,
        'showAllLocalizationLink' => 1,
        'showSynchronizationLink' => 1,
        'enabledControls' => array(
            'info' => FALSE,
        )
    ),
),

Related issues:
Bug #71596


Related issues 2 (1 open1 closed)

Related to TYPO3 Core - Bug #71596: New Inline records can not be created in translated parent recordClosed2015-11-16

Actions
Related to TYPO3 Core - Bug #84185: Errormessage 'Localization failed' with showSynchronizationLink (IRRE)New2018-03-09

Actions
Actions

Also available in: Atom PDF