Issue Bug Closed

#27950l10n: localizations in extension llxml-files are not respected

Björn Pedersen 07/07/11, 15:34 updated 07/14/11, 11:54

Description

If you have more then one language in an extension llxml-file, only the default language is used. This results in wrong labels.

I tracked it down to this code in tx_lang_parser_llxml.php:

public function getParsedTargetData($path) {
if (!isset($this->parsedTargetFiles[$path])) {
$this->parsedTargetFiles[$path] = $this->parseXmlTargetFile($path);
}
return $this->parsedTargetFiles[$path];
}
In this use case, $path is <extpath>/locallang.xml for both default language and additional languages.

A workaround is to move the labels to a file in typo3conf/l10n as the language packs from translation server do.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.