Issue Bug Closed

#67005$instance->localeDependencies is not filled properly in FLUIDTEAMPLATE

Andre Michels 05/18/15, 11:07 updated 01/06/23, 13:54

Description

If you use f:translate in an FLUIDTEMPLATE outside an extension with no extension and/or plugin set it will always return the default translation.

The bug has to be somewhere in Locales.php:170 where the localeDependencies array is filled. It will only be filled with 5 char language codes but most of them are two char codes…

*HOTFIX:*
Dont use the full path to an extension language file like:

LLL:EXT:dbay_loginbox/Resources/Private/Language/locallang.xml:Login.usernameLabel

Set the extension in the typoscript for the FLUIDTEMPLATE:

10 = FLUIDTEMPLATE
10.extbase.pluginName = OverlayLoginbox
10.extbase.controllerExtensionName = DbayLoginbox

and then the following translation key will be translated correctly:

Login.usernameLabel

But now we only can use one extension language files in our FLUIDTEMPLATE

Reviews 0

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