Important: The job table records its translation source
Description
tx_ declared a
language and a
trans, and no
translation. It was the only
table of the academic extensions without one.
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 key that information is not recorded at all.
The
ctrl
section of the table now carries:
'translationSource' => 'l10n_source',
Impact
TYPO3 adds an
l10n_ column to the table on the next database
comparison, as
int unsigned NOT NULL DEFAULT 0
with an index. The column
is derived from the TCA by
Default, so there is nothing to add
to ext_.
The backend gains the "source language" half of the localization state selector for job records, and a translation made from another translation is recorded as such.
Affected Installations
All installations of this extension.
No migration is needed, and none is offered. Existing rows get the column
default
0
:
- On a default language record that is the correct value, permanently - such a record has no source.
- On a translation that predates this change it means "not recorded". Every
reader in the TYPO3 core guards for that with a
> 0check, so nothing fails: the backend simply does not offer the source language comparison for those particular records, and still offers the default language one.
Translations created from now on record their source. A record whose value matters can be re-translated, or the column set by hand; neither is required for the extension to work.