Important: The job table records its translation source
Description
tx_ declared a
language and a
trans, and no
translation.
The two answer different questions.
l10n_ says which record a
translation belongs to.
l10n_ says which record it was written
from. They hold the same value when a translation was made from the default
language and different ones when it was made from another translation, and
without the second field that information is not recorded at all.
The
ctrl
section of the table now carries:
'translationSource' => 'l10n_source',
Impact
TYPO3 adds an
l10n_ column with an index to the table on the next
database comparison, as an unsigned integer that defaults to
0
. The
column is derived from the TCA, so there is nothing to add to
ext_tables.sql.
The backend records the source of a job translation made from another translation, and the localization state selector of a translated field can refer to the value of that source.
Affected Installations
All installations of this extension. Apply the database comparison in
Admin Tools > Maintenance > Analyze Database Structure, or with
vendor/.
No data migration is needed, and none is offered. Existing rows get the column
default
0
:
- On a default language record that is the correct value. Such a record has no source.
- On a translation that predates this change it means "not recorded". The backend then treats the translation as made from the default language, as it did before.
Translations created from now on record their source. A record whose value matters can be translated again, or the column set by hand. Neither is required for the extension to work.