#18161Malformed translated locallang causes PHP crash
Description
In t3lib_div::readLLXMLfile() errors in the locallang file are properly caught for the default language (i.e. an error message is displayed pointing to the invalid file), but not for translations (PHP fatal error occurs).
The attached patch copies for the translated file the same mechanism as for the default language file.
To reproduce that bug, you can simply replace a locallang file in typo3conf/l10n by an empty and see what happens. For example replace typo3conf/l10n/lang/[language_key].locallang_general.xml and try to view the page tree in the BE by going to Web > Page.
(issue imported from #M7445)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.