Additional fields of pages table are not translated when using getText datatype
I added a new field to both the pages and pages_language_overlay table:
The field shows up in the Alternative Page Language record as expected but when I receive the field value via
field = tx_svoaddpageheader_pageheadline
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:
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)
Updated by Andreas Wolf almost 10 years ago
- Category changed from Communication to TypoScript
- Status changed from New to Needs Feedback
- Target version deleted (
- TYPO3 Version changed from 3.8.0 to 4.0
- PHP Version deleted (
Is this still valid for 4.5/4.6?
The version assignment to 4.0 is just a rough guess based on the age of the bug...