#34728llXmlAutoFilename will never find localized files in l10n path
Description
If the parameter $sameLocation in function llXmlAutoFileName is set to false, like it is as default, it will never return a file name.
$location is set to “typo3conf/l10n” and since there is a condition missing, $validatePrefix will never get a path and then the function will always return NULL.
Adding another condition that checks for the l10n path resolves the problem.
Pushing a patch to review in a minute.