Maybe I missed something but there is the following scenario:
I want to override the labels of another extension, for example ext:news.
As described here https://docs.typo3.org/m/typo3/reference-coreapi/11.5/en-us/ApiOverview/Localization/ManagingTranslations.html#xliff-translating-custom in EXT:my_ext/ext_localconf.php I have the following entry:
$GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride']['EXT:news/Resources/Private/Language/locallang.xlf'][0] = 'EXT:my_ext/Resources/Private/Language/Overrides/News/Resources/Private/Language/locallang.xlf';
The new file de.locallang.xlf (located in the same folder EXT:my_ext/Resources/Private/Language/Overrides/News/Resources/Private/Language/) has the following content:
<body>
<trans-unit id="dateFormat" resname="dateFormat">
<source>%d/%m/%Y</source>
<target>%d.%m.%Y</target>
</trans-unit>
<trans-unit id="related-files" resname="related-files">
<source>More downloads</source>
<target>Weitere Downloads</target>
</trans-unit>
</body>
So, just the text for two keys have been changed.
But, when I open the translation files from the news extension in the locallang extension, I get only the original english text without the German translation.



What do I have to change so that the extension will pick up the Overrides folder from my extension with the current changes?
Changes should also be written in the EXT:my_ext/Resources/Private/Language/Overrides/News/Resources/Private/Language/ folder.
Currently, even if I select "my_ext" in the dropdown I will only see *.xlf files located directly in the folder EXT:my_ext/Resources/Private/Language/. No subfolders are taken into account.
I think there needs to be another override mode to be implemented?
Currently the user only has the option to
- edit the extension language files directly (which is ok for your own extension but not for 3rd party extensions)
- override in the label / l10 folders which is ok if you don't use crowdin because that would override the own changes again - because TYPO3 translations rely on the crowdin translations, that approach seems to be not the right one...
Maybe I missed something but there is the following scenario:
I want to override the labels of another extension, for example
ext:news.As described here https://docs.typo3.org/m/typo3/reference-coreapi/11.5/en-us/ApiOverview/Localization/ManagingTranslations.html#xliff-translating-custom in
EXT:my_ext/ext_localconf.phpI have the following entry:$GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride']['EXT:news/Resources/Private/Language/locallang.xlf'][0] = 'EXT:my_ext/Resources/Private/Language/Overrides/News/Resources/Private/Language/locallang.xlf';The new file
de.locallang.xlf(located in the same folderEXT:my_ext/Resources/Private/Language/Overrides/News/Resources/Private/Language/) has the following content:So, just the text for two keys have been changed.
But, when I open the translation files from the news extension in the locallang extension, I get only the original english text without the German translation.
What do I have to change so that the extension will pick up the Overrides folder from my extension with the current changes?
Changes should also be written in the
EXT:my_ext/Resources/Private/Language/Overrides/News/Resources/Private/Language/folder.Currently, even if I select "my_ext" in the dropdown I will only see *.xlf files located directly in the folder
EXT:my_ext/Resources/Private/Language/. No subfolders are taken into account.I think there needs to be another override mode to be implemented?
Currently the user only has the option to