Closed timdreier closed 1 year ago
I do have the same problem overwriting the labels as described by @timdreier . Tested it with several plugin keys
plugin.tx_dp_cookieconsent
plugin.tx_dpcookieconsent
plugin.dp_cookieconsent
etc.
I can not even overwrite the whole language files via locallangXMLOverride
.
Any idea?
He,
if i try it this way in TYPO 11 LTS
plugin.tx_dp_cookieconsent._LOCAL_LANG.de {
allowall = Alle zulassen
message = TEXT
}
Than it works:
But yeah in TYPO12 it didn't work anymore.
And how could it be realized nowadays?
I cannot translate with overriding the XLF as well. Is that because the plugin folder is not located in typo3_conf/ext?
No, u need to change the date in den XLF and than run the languagepack update.
You also coud use the XLF overwrite:
$GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride']
['EXT:dp_cookieconsent/Resources/Private/Language/locallang.xlf'][]
= 'EXT:..YOURPATH...../custom.xlf';
Thanks, it works now.
Hi, In TYPO3, I can't translate the labels as documented. Doing the following still displays the default text: