Skip to content

allow my_ext/ext_localconf.php for language override configuration

Right now, the LFEditor can be configured to override the language files. The path can be set in the extension configuration but only relative to the root folder public/...

Would it be possible to allow to set those override declarations in an extension specific ext_localconf.php file?

documention: https://docs.typo3.org/m/typo3/reference-coreapi/11.5/en-us/ExtensionArchitecture/FileStructure/ExtLocalconf.html

It should contain additional configuration of $GLOBALS['TYPO3_CONF_VARS'].

Which is for example:

$GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride']['EXT:news/Resources/Private/Language/locallang.xlf'][0] = 'EXT:my_ext/Resources/Private/Language/override_ext_news_locallang.xlf';

Maybe if the editor prefixes the path with EXT: and sets a path like EXT:my_ext/ext_localconf.php?

Right now the file path for those overrides points to public/typo3conf/LFEditor/Configuration.php and LFEditor has to be installed. If you have LFEditor just as an dev requirement installed, that doesn't work because the production system doesn't know to look in this file for the additional configuration.

Is that possible?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information