Issue Bug Closed

#85609Extbase or Core doesn't handle FAL translations correctly

Matthias Kappenberg 07/21/18, 01:12 updated 07/23/18, 19:01

Description

please see also: https://forge.typo3.org/issues/57272

If I’m right the issue is not solved.

Testcase:
Build a simple extension (plugin) with an image field.
Do not apply it as a plugin, instead create a new CType or lib, please see TS below.

....
    10 = FLUIDTEMPLATE
    10 {
        file = {$plugin.tx_YOUREXT.view.templateRootPath}SomeCe.html
        variables {
            YOUR_VAR = USER
            YOUR_VAR {
                userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
                vendorName = YOU
                extensionName = YOUREXT
                pluginName = YOURPLUGIN
                controller = OPTIONAL
                action = ACTION_OPTIONAL_SETTINGS_DEPENDEND
                switchableControllerActions {
                    YOUR_CONTROLLER {
                        1 = PREFERRED_ACTION
                        2 = ALTERNATIVE_ACTION
                    }
                }
            }
        }
    }

and in the fluid template simply assign the variable…
Fluid variable example:

...
{YOUR_VAR->f:format.raw()}
...

I’ve tried possible TS alternatives, too.

Experimented with different language config settings, no luck at all.
Tried TCA features, too.

Seems to me that there is a major bug.

Only solution was, as mentioned in the other bug report:
https://extensions.typo3.org/extension/repair_translation/
;-)

Any suggestions are welcome :-)
I apologize if this is not a major bug.

Have fun and many thanks for all your really great work on TYPO3 :-)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.