Bug #15298

Additional fields of pages table are not translated when using getText datatype

Added by Sacha Vorbeck almost 16 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2005-12-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hi,

I added a new field to both the pages and pages_language_overlay table:

tx_svoaddpageheader_pageheadline

The field shows up in the Alternative Page Language record as expected but when I receive the field value via

field = tx_svoaddpageheader_pageheadline

or

data = levelfield : -1 , tx_svoaddpageheader_pageheadline , slide

the default value will be shown instead of the translation.

So it seems that the translation mechanism that works for the default fields is not working for additional fields.

The only solution I see for now it to add a field to the pages table for each language required. Like:
tx_svoaddpageheader_pageheadline_en
tx_svoaddpageheader_pageheadline_fr
tx_svoaddpageheader_pageheadline_it
etc.
Which is confusing for editors as they have to add foreign language values both to the "alternative page language" records and the page properties dialogue.

What do you think? Should this be regarded as a bug? Can this be solved it the additional fields have the same names both in the pages and the pages_language_overlay table?

(issue imported from #M2070)

Also available in: Atom PDF