Project

General

Profile

Actions

Bug #34728

closed

llXmlAutoFilename will never find localized files in l10n path

Added by Thomas Layh over 12 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-03-10
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.


Files

languagetest.zip (4.2 KB) languagetest.zip Alexander Stehlik, 2014-11-17 21:59

Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #65273: Using XLIFF translation files located in non-extension folders does not workClosedMarkus Klein2015-02-24

Actions
Actions

Also available in: Atom PDF