Converting file from xml to xlf throws exception
Ticket on Forge: https://forge.typo3.org/issues/73172
Author: Josef Glatz
Description:
Problem/Description When I try to convert a xml to xlf I get an error
1: PHP Warning:
file_get_contents(/application/code/typo3conf/ext/theme/Resources/Private/Language/locallang_FormhandlerShared.xlf): failed to open stream: No such file or directory in /application/code/typo3conf/ext/lfeditor/Classes/Service/FileBaseService.php line 185
If I take a look into the folder after starting convertion: a new file with only the german translation in xml format de.locallang_FormhandlerShared.xlf is generated. the original file has no german translation "array". Therefore a EXT:theme/Resources/Private/Language/de.locallang_FormhandlerShared.xml is placed there. There are also all other empty languageKey arrays: (just a few lines:)
<languageKey index="af"/>
<languageKey index="ar"/>
<languageKey index="bs"/>
<languageKey index="bg"/>
<languageKey index="ca"/>
<languageKey index="ch"/>
<languageKey index="cs"/>
Reloading the module is possible when I clear all caches in Install Tool.
ToDo(s) Converting language files should work again.