Bug #15298
closedAdditional fields of pages table are not translated when using getText datatype
0%
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)