Bug #40650
closedPublish Dates not usable in additional language
0%
Description
The feature "Publish Dates" is working fine in the standard language of the installation but is greyed-out in another language.
This happens on independent content and is not a problem of inheritance.
Updated by Francois Suter over 11 years ago
- Status changed from New to Needs Feedback
- Assignee set to Francois Suter
Hi Tobias,
This is apparently by design, although the intent can be question. Indeed the TCA of tt_content has the following:
$TCA['tt_content']['columns']['starttime']['l10n_display'] = 'defaultAsReadonly'; $TCA['tt_content']['columns']['starttime']['l10n_mode'] = 'exclude';
which means that the field should not be included in translations at all (l10n_mode = exclude). I'm not sure why this was designed this way, but it's easy to override. Just do
unset($TCA['tt_content']['columns']['starttime']['l10n_display']); unset($TCA['tt_content']['columns']['starttime']['l10n_mode']);
in your extTables.php file (or some other ext_tables.php if you put your customization in a separate extension) and it should work. Does that help?
Updated by Andreas Kiessling over 11 years ago
Updated by Francois Suter over 11 years ago
- Category set to Backend User Interface
- Status changed from Needs Feedback to Accepted
- Target version set to 4.6.11
- TYPO3 Version changed from 4.7 to 4.6
Andreas, thanks for the history. I'll try to look into that.
Updated by Tobias Kleffmann over 11 years ago
Thanks a lot and sorry for the inconvenience!
Updated by Stefan Neufeind over 11 years ago
I also think I remember we discussed disabling certain fields where, for practical reasons, only the default-value is taken into account.
Though it might make sense to show a translated element in a different translation/language at some other point in time :-)
Updated by Mathias Schreiber over 9 years ago
- Status changed from Accepted to Closed
- Is Regression set to No
closing this one, we will continue in #32252