[+BUGFIX] Extbase (Localization): Enabled support for overriding Locallang-Files...
authorSebastian Kurfürst <sebastian@typo3.org>
Tue, 15 Jun 2010 06:38:58 +0000 (06:38 +0000)
committerSebastian Kurfürst <sebastian@typo3.org>
Tue, 15 Jun 2010 06:38:58 +0000 (06:38 +0000)
typo3/sysext/extbase/Classes/Utility/Localization.php

index 5107320..8f230cb 100644 (file)
@@ -138,7 +138,7 @@ class Tx_Extbase_Utility_Localization {
                if (isset(self::$LOCAL_LANG[$extensionName])) {
                        return;
                }
-               $locallangPathAndFilename = t3lib_extMgm::extPath(t3lib_div::camelCaseToLowerCaseUnderscored($extensionName), self::$locallangPath . 'locallang.php');
+               $locallangPathAndFilename = 'EXT:' . t3lib_div::camelCaseToLowerCaseUnderscored($extensionName) . '/' . self::$locallangPath . 'locallang.xml';
 
                self::setLanguageKeys();