Project

General

Profile

Actions

Feature #35273

closed

Task #79241: Streamline usage of l10n_mode

l10n_mode option mergeIfNotBlank should handle empty ids correctly

Added by Christopher Hlubek about 12 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Localization
Target version:
-
Start date:
2012-03-27
Due date:
% Done:

0%

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

Description

In t3lib_pageSelect->getRecordOverlay the 10n_mode option mergeIfNotBlank disables an overlay for a field of a record if the value is the empty string. For records with relations and a 0 as default value this causes problems when translating these records. Using exclude as l10n_mode is not always possible since this disables the fields in backend forms.

We should introduce a new option that allows to skip the overlay of a field if the value is 0.

Actions

Also available in: Atom PDF