[CLEANUP] Remove old .xml and .php locallang references 49/33949/5
authorBenjamin Mack <benni@typo3.org>
Mon, 10 Nov 2014 14:22:38 +0000 (15:22 +0100)
committerBenjamin Mack <benni@typo3.org>
Fri, 12 Dec 2014 21:07:28 +0000 (22:07 +0100)
There are still places in the CMS Core that reference locallang.php
and locallang.xml although the default is the XLIFF file format.

The old data from CSS Styled Content 6.1 and below are not respected
as they will be removed in a later patch anyway.

Resolves: #62828
Releases: master
Change-Id: Iff48c614627ad99a3c5c76e38dc595ac6d80063e
Reviewed-on: http://review.typo3.org/33949
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
17 files changed:
typo3/sysext/backend/Classes/Module/AbstractFunctionModule.php
typo3/sysext/core/Classes/Page/PageRenderer.php
typo3/sysext/core/Classes/Utility/GeneralUtility.php
typo3/sysext/extbase/Classes/Utility/LocalizationUtility.php
typo3/sysext/felogin/template.html
typo3/sysext/form/Configuration/TypoScript/setup.txt
typo3/sysext/frontend/Classes/Plugin/AbstractPlugin.php
typo3/sysext/lang/Classes/LanguageService.php
typo3/sysext/lang/locallang_csh_em.xlf
typo3/sysext/rtehtmlarea/Classes/Controller/FrontendRteController.php
typo3/sysext/rtehtmlarea/Classes/RteHtmlAreaBase.php
typo3/sysext/rtehtmlarea/Documentation/Configuration/PageTsconfig/classesAnchor/Index.rst
typo3/sysext/rtehtmlarea/Documentation/DefaultConfigurations/Demo/Index.rst
typo3/sysext/rtehtmlarea/Documentation/DefaultConfigurations/Image/Index.rst
typo3/sysext/rtehtmlarea/Documentation/DefaultConfigurations/Typical/Index.rst
typo3/sysext/scheduler/Documentation/DevelopersGuide/CreatingTasks/Index.rst
typo3/sysext/version/Classes/ClickMenu/VersionClickMenu.php

index 0562498..227a49a 100644 (file)
@@ -101,7 +101,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
  * "func_wizard" actually does:
  *
  * class WebFunctionWizardsBaseController extends \TYPO3\CMS\Backend\Module\AbstractFunctionModule {
- * var $localLangFile = "locallang.php";
+ * var $localLangFile = "locallang.xlf";
  * var $function_key = "wiz";
  * function init(&$pObj, $conf) {
  * OK, handles ordinary init. This includes setting up the
@@ -145,12 +145,12 @@ abstract class AbstractFunctionModule {
        public $thisPath = '';
 
        /**
-        * Can be hardcoded to the name of a locallang.php file (from the same directory as the class file) to use/load
+        * Can be hardcoded to the name of a locallang.xlf file (from the same directory as the class file) to use/load
         *
         * @see incLocalLang()
         * @var string
         */
-       public $localLangFile = 'locallang.php';
+       public $localLangFile = 'locallang.xlf';
 
        /**
         * Contains module configuration parts from TBE_MODULES_EXT if found
@@ -218,7 +218,7 @@ abstract class AbstractFunctionModule {
         * @return void
         */
        public function incLocalLang() {
-               if ($this->localLangFile && (@is_file(($this->thisPath . '/' . $this->localLangFile)) || @is_file(($this->thisPath . '/' . substr($this->localLangFile, 0, -4) . '.xml')) || @is_file(($this->thisPath . '/' . substr($this->localLangFile, 0, -4) . '.xlf')))) {
+               if ($this->localLangFile && (@is_file(($this->thisPath . '/' . $this->localLangFile)) || @is_file(($this->thisPath . '/' . substr($this->localLangFile, 0, -4) . '.xml')) || @is_file(($this->thisPath . '/' . substr($this->localLangFile, 0, -4) . '.php')))) {
                        $LOCAL_LANG = $GLOBALS['LANG']->includeLLFile($this->thisPath . '/' . $this->localLangFile, FALSE);
                        if (is_array($LOCAL_LANG)) {
                                $GLOBALS['LOCAL_LANG'] = (array)$GLOBALS['LOCAL_LANG'];
index 1c739a6..dffc5e2 100644 (file)
@@ -1842,7 +1842,7 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface {
        /**
         * Gets labels to be used in JavaScript fetched from a locallang file.
         *
-        * @param string $fileRef Input is a file-reference (see GeneralUtility::getFileAbsFileName). That file is expected to be a 'locallang.xml' file containing a valid XML TYPO3 language structure.
+        * @param string $fileRef Input is a file-reference (see GeneralUtility::getFileAbsFileName). That file is expected to be a 'locallang.xlf' file containing a valid XML TYPO3 language structure.
         * @param string $selectionPrefix Prefix to select the correct labels (default: '')
         * @param string $stripFromSelectionName Sub-prefix to be removed from label names in the result (default: '')
         * @param int $errorMode Error mode (when file could not be found): 0 - syslog entry, 1 - do nothing, 2 - throw an exception
index d740eae..83f9859 100755 (executable)
@@ -4047,7 +4047,7 @@ Connection: close
        /**
         * Includes a locallang file and returns the $LOCAL_LANG array found inside.
         *
-        * @param string $fileRef Input is a file-reference (see \TYPO3\CMS\Core\Utility\GeneralUtility::getFileAbsFileName). That file is expected to be a 'locallang.php' file containing a $LOCAL_LANG array (will be included!) or a 'locallang.xml' file conataining a valid XML TYPO3 language structure.
+        * @param string $fileRef Input is a file-reference (see \TYPO3\CMS\Core\Utility\GeneralUtility::getFileAbsFileName). That file is expected to be a 'locallang.xlf' file conataining a valid XML TYPO3 language structure.
         * @param string $langKey Language key
         * @param string $charset Character set (option); if not set, determined by the language key
         * @param int $errorMode Error mode (when file could not be found): 0 - syslog entry, 1 - do nothing, 2 - throw an exception
index 4686f68..232c4fd 100644 (file)
@@ -144,8 +144,8 @@ class LocalizationUtility {
        }
 
        /**
-        * Loads local-language values by looking for a "locallang.php" (or "locallang.xml") file in the plugin resources directory and if found includes it.
-        * Also locallang values set in the TypoScript property "_LOCAL_LANG" are merged onto the values found in the "locallang.php" file.
+        * Loads local-language values by looking for a "locallang.xlf" (or "locallang.xml") file in the plugin resources directory and if found includes it.
+        * Also locallang values set in the TypoScript property "_LOCAL_LANG" are merged onto the values found in the "locallang.xlf" file.
         *
         * @param string $extensionName
         * @return void
@@ -154,7 +154,7 @@ class LocalizationUtility {
                if (isset(self::$LOCAL_LANG[$extensionName])) {
                        return;
                }
-               $locallangPathAndFilename = 'EXT:' . \TYPO3\CMS\Core\Utility\GeneralUtility::camelCaseToLowerCaseUnderscored($extensionName) . '/' . self::$locallangPath . 'locallang.xml';
+               $locallangPathAndFilename = 'EXT:' . \TYPO3\CMS\Core\Utility\GeneralUtility::camelCaseToLowerCaseUnderscored($extensionName) . '/' . self::$locallangPath . 'locallang.xlf';
                self::setLanguageKeys();
                $renderCharset = TYPO3_MODE === 'FE' ? $GLOBALS['TSFE']->renderCharset : $GLOBALS['LANG']->charSet;
                self::$LOCAL_LANG[$extensionName] = \TYPO3\CMS\Core\Utility\GeneralUtility::readLLfile($locallangPathAndFilename, self::$languageKey, $renderCharset);
index 4cd830f..b90e6e3 100644 (file)
@@ -30,7 +30,7 @@
        <li>###PERMALOGIN_VALID### - useful to define what to show/hide</li>
 </ul>
 
-<h2>felogin Language Markers (see pi/locallang.xml)</h2>
+<h2>felogin Language Markers (see pi/locallang.xlf)</h2>
 <ul>
        <li>###EMAIL_LABEL###                 - corresponding to 'your_email'</li>
        <li>###FORGOT_PASSWORD###             - corresponding to 'forgot_password'</li>
index 37b31f0..b9edd07 100644 (file)
@@ -8,7 +8,7 @@ tt_content.mailform.20 {
        stdWrap.wrap = <div class="csc-mailform"> | </div>
        stdWrap {
                editIcons = tt_content: bodytext
-               editIcons.iconTitle.data = LLL:EXT:css_styled_content/pi1/locallang.xml:eIcon.form
+               editIcons.iconTitle.data = LLL:EXT:css_styled_content/pi1/locallang.xlf:eIcon.form
 
                prefixComment = 2 | Mail form inserted:
        }
index 0b48d9f..334ef82 100644 (file)
@@ -970,13 +970,13 @@ class AbstractPlugin {
         * plugin class directory ($this->scriptRelPath) and if found includes it.
         * Also locallang values set in the TypoScript property "_LOCAL_LANG" are
         * merged onto the values found in the "locallang" file.
-        * Supported file extensions xlf, xml, php
+        * Supported file extensions xlf, xml
         *
         * @return void
         */
        public function pi_loadLL() {
                if (!$this->LOCAL_LANG_loaded && $this->scriptRelPath) {
-                       $basePath = 'EXT:' . $this->extKey . '/' . dirname($this->scriptRelPath) . '/locallang.xml';
+                       $basePath = 'EXT:' . $this->extKey . '/' . dirname($this->scriptRelPath) . '/locallang.xlf';
                        // Read the strings in the required charset (since TYPO3 4.2)
                        $this->LOCAL_LANG = GeneralUtility::readLLfile($basePath, $this->LLkey, $this->frontendController->renderCharset);
                        $alternativeLanguageKeys = GeneralUtility::trimExplode(',', $this->altLLkey, TRUE);
index 59c33fa..c091099 100644 (file)
@@ -431,9 +431,11 @@ class LanguageService {
         *
         * @param string $fileRef Filename/path of a 'locallang.php' file
         * @return string Input filename with a '.[lang-key].php' ending added if $this->lang is not 'default'
+        * @deprecated since TYPO3 CMS 7, this method will be removed in CMS 8. Please use XLF files for translation handling.
         */
        protected function localizedFileRef($fileRef) {
                if ($this->lang !== 'default' && substr($fileRef, -4) === '.php') {
+                       GeneralUtility::logDeprecatedFunction();
                        return substr($fileRef, 0, -4) . '.' . $this->lang . '.php';
                } else {
                        return NULL;
index c63187f..f4241c6 100644 (file)
@@ -491,7 +491,7 @@ In effect you can therefore have, say, a "stable" version of an extension instal
                                <source>locallang-files</source>
                        </trans-unit>
                        <trans-unit id="emconf_locallang.description" xml:space="preserve">
-                               <source>Shows which files named "locallang.php" are present in the extension folder (recursive search). Such files are usually used to present an array $LOCAL_LANG with labels for the application in the system languages.</source>
+                               <source>Shows which files named "locallang.xlf" are present in the extension folder (recursive search). Such files are usually used to present an array $LOCAL_LANG with labels for the application in the system languages.</source>
                        </trans-unit>
                        <trans-unit id="emconf_moduleNames.alttitle" xml:space="preserve">
                                <source>Backend Module names</source>
index ec82366..04a47c4 100644 (file)
@@ -148,7 +148,7 @@ class FrontendRteController extends \TYPO3\CMS\Rtehtmlarea\RteHtmlAreaBase {
                // Language
                $GLOBALS['TSFE']->initLLvars();
                $this->language = $GLOBALS['TSFE']->lang;
-               $this->LOCAL_LANG = \TYPO3\CMS\Core\Utility\GeneralUtility::readLLfile('EXT:' . $this->ID . '/locallang.xml', $this->language);
+               $this->LOCAL_LANG = \TYPO3\CMS\Core\Utility\GeneralUtility::readLLfile('EXT:' . $this->ID . '/locallang.xlf', $this->language);
                if ($this->language === 'default' || !$this->language) {
                        $this->language = 'en';
                }
index 4cf86c1..66d4dfd 100644 (file)
@@ -330,7 +330,7 @@ class RteHtmlAreaBase extends \TYPO3\CMS\Backend\Rte\AbstractRte {
        public function drawRTE($parentObject, $table, $field, $row, $PA, $specConf, $thisConfig, $RTEtypeVal, $RTErelPath, $thePidValue) {
                $this->TCEform = $parentObject;
                $inline = $this->TCEform->inline;
-               $GLOBALS['LANG']->includeLLFile('EXT:' . $this->ID . '/locallang.xml');
+               $GLOBALS['LANG']->includeLLFile('EXT:' . $this->ID . '/locallang.xlf');
                $this->client = $this->clientInfo();
                $this->typoVersion = \TYPO3\CMS\Core\Utility\VersionNumberUtility::convertVersionNumberToInteger(TYPO3_version);
                $this->userUid = 'BE_' . $GLOBALS['BE_USER']->user['uid'];
index ebccf5c..2b8732e 100644 (file)
@@ -50,13 +50,13 @@ classesAnchor.[ *id-string* ]
          
          .altText = the text that will be used as altText for the image when
          the class is applied to an anchor; may be language-splitted; the TYPO3
-         syntax LLL:EXT:extension-key/sub-directory/locallang.xml:label-index
+         syntax LLL:EXT:extension-key/sub-directory/locallang.xlf:label-index
          may also be used in order for the text to be localized to the language
          of the content using the specified language file and label index
          
          .titleText = the text that will be used as title for the anchor when
          the class is applied to an anchor; may be language-splitted;the TYPO3
-         syntax LLL:EXT:extension-key/sub-directory/locallang.xml:label-index
+         syntax LLL:EXT:extension-key/sub-directory/locallang.xlf:label-index
          may also be used in order for the text to be localized to the language
          of the content using the specified language file and label index
          
index c758649..5e462ab 100644 (file)
@@ -33,51 +33,51 @@ Content extension
 
    RTE.classes {
            align-left {
-                   name = LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xml:justifyleft
+                   name = LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xlf:justifyleft
                    value = text-align: left;
            }
            align-center {
-                   name = LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xml:justifycenter
+                   name = LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xlf:justifycenter
                    value = text-align: center;
            }
            align-right {
-                   name = LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xml:justifyright
+                   name = LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xlf:justifyright
                    value = text-align: right;
            }
            csc-frame-frame1 {
-                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml:frame-frame1
+                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:frame-frame1
                    value = background-color: #EDEBF1; border: 1px solid #333333;
            }
            csc-frame-frame2 {
-                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml:frame-frame2
+                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:frame-frame2
                    value = background-color: #F5FFAA; border: 1px solid #333333;
            }
            important {
-                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml:important
+                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:important
                    value = color: #8A0020;
            }
            name-of-person {
-                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml:name-of-person
+                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:name-of-person
                    value = color: #10007B;
            }
            detail {
-                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml:detail
+                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:detail
                    value = color: #186900;
            }
            component-items {
-                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml:component-items
+                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:component-items
                    value = color: #186900;
            }
            action-items {
-                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml:action-items
+                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:action-items
                    value = color: #8A0020;
            }
            component-items-ordered {
-                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml:component-items
+                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:component-items
                    value = color: #186900;
            }
            action-items-ordered {
-                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml:action-items
+                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:action-items
                    value = color: #8A0020;
            }
    }
@@ -92,43 +92,43 @@ feature
                    class = external-link
                    type = url
                    image = EXT:rtehtmlarea/res/accessibilityicons/img/external_link.gif
-                   altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xml:external_link_altText
-                   titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xml:external_link_titleText
+                   altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:external_link_altText
+                   titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:external_link_titleText
            }
            externalLinkInNewWindow {
                    class = external-link-new-window
                    type = url
                    image = EXT:rtehtmlarea/res/accessibilityicons/img/external_link_new_window.gif
-                   altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xml:external_link_new_window_altText
-                   titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xml:external_link_new_window_titleText
+                   altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:external_link_new_window_altText
+                   titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:external_link_new_window_titleText
            }
            internalLink {
                    class = internal-link
                    type = page
                    image = EXT:rtehtmlarea/res/accessibilityicons/img/internal_link.gif
-                   altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xml:internal_link_altText
-                   titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xml:internal_link_titleText
+                   altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:internal_link_altText
+                   titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:internal_link_titleText
            }
            internalLinkInNewWindow {
                    class = internal-link-new-window
                    type = page
                    image = EXT:rtehtmlarea/res/accessibilityicons/img/internal_link_new_window.gif
-                   altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xml:internal_link_new_window_altText
-                   titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xml:internal_link_new_window_titleText
+                   altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:internal_link_new_window_altText
+                   titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:internal_link_new_window_titleText
            }
            download {
                    class = download
                    type = file
                    image = EXT:rtehtmlarea/res/accessibilityicons/img/download.gif
-                   altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xml:download_altText
-                   titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xml:download_titleText
+                   altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:download_altText
+                   titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:download_titleText
            }
            mail {
                    class = mail
                    type = mail
                    image = EXT:rtehtmlarea/res/accessibilityicons/img/mail.gif
-                   altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xml:mail_altText
-                   titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xml:mail_titleText
+                   altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:mail_altText
+                   titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:mail_titleText
            }
    }
 
index 77b3926..b0d17a2 100644 (file)
@@ -32,27 +32,27 @@ feature
    RTE.classesAnchor {
            externalLink {
                    image = EXT:rtehtmlarea/res/accessibilityicons/img/external_link.gif
-                   altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xml:external_link_altText
+                   altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:external_link_altText
            }
            externalLinkInNewWindow {
                    image = EXT:rtehtmlarea/res/accessibilityicons/img/external_link_new_window.gif
-                   altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xml:external_link_new_window_altText
+                   altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:external_link_new_window_altText
            }
            internalLink {
                    image = EXT:rtehtmlarea/res/accessibilityicons/img/internal_link.gif
-                   altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xml:internal_link_altText
+                   altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:internal_link_altText
            }
            internalLinkInNewWindow {
                    image = EXT:rtehtmlarea/res/accessibilityicons/img/internal_link_new_window.gif
-                   altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xml:internal_link_new_window_altText
+                   altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:internal_link_new_window_altText
            }
            download {
                    image = EXT:rtehtmlarea/res/accessibilityicons/img/download.gif
-                   altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xml:download_altText
+                   altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:download_altText
            }
            mail {
                    image = EXT:rtehtmlarea/res/accessibilityicons/img/mail.gif
-                   altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xml:mail_altText
+                   altText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:mail_altText
            }
    }
 
index 7083b09..14b4b02 100644 (file)
@@ -32,51 +32,51 @@ frame scheme from CSS Styled Content extension
 
    RTE.classes {
            align-left {
-                   name = LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xml:justifyleft
+                   name = LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xlf:justifyleft
                    value = text-align: left;
            }
            align-center {
-                   name = LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xml:justifycenter
+                   name = LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xlf:justifycenter
                    value = text-align: center;
            }
            align-right {
-                   name = LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xml:justifyright
+                   name = LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xlf:justifyright
                    value = text-align: right;
            }
            csc-frame-frame1 {
-                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml:frame-frame1
+                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:frame-frame1
                    value = background-color: #EDEBF1; border: 1px solid #333333;
            }
            csc-frame-frame2 {
-                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml:frame-frame2
+                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:frame-frame2
                    value = background-color: #F5FFAA; border: 1px solid #333333;
            }
            important {
-                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml:important
+                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:important
                    value = color: #8A0020;
            }
            name-of-person {
-                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml:name-of-person
+                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:name-of-person
                    value = color: #10007B;
            }
            detail {
-                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml:detail
+                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:detail
                    value = color: #186900;
            }
            component-items {
-                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml:component-items
+                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:component-items
                    value = color: #186900;
            }
            action-items {
-                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml:action-items
+                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:action-items
                    value = color: #8A0020;
            }
            component-items-ordered {
-                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml:component-items
+                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:component-items
                    value = color: #186900;
            }
            action-items-ordered {
-                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xml:action-items
+                   name = LLL:EXT:rtehtmlarea/res/contentcss/locallang.xlf:action-items
                    value = color: #8A0020;
            }
    }
@@ -90,32 +90,32 @@ feature
            externalLink {
                    class = external-link
                    type = url
-                   titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xml:external_link_titleText
+                   titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:external_link_titleText
            }
            externalLinkInNewWindow {
                    class = external-link-new-window
                    type = url
-                   titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xml:external_link_new_window_titleText
+                   titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:external_link_new_window_titleText
            }
            internalLink {
                    class = internal-link
                    type = page
-                   titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xml:internal_link_titleText
+                   titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:internal_link_titleText
            }
            internalLinkInNewWindow {
                    class = internal-link-new-window
                    type = page
-                   titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xml:internal_link_new_window_titleText
+                   titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:internal_link_new_window_titleText
            }
            download {
                    class = download
                    type = file
-                   titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xml:download_titleText
+                   titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:download_titleText
            }
            mail {
                    class = mail
                    type = mail
-                   titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xml:mail_titleText
+                   titleText = LLL:EXT:rtehtmlarea/res/accessibilityicons/locallang.xlf:mail_titleText
            }
    }
 
index c67cc78..476e28b 100644 (file)
@@ -277,8 +277,8 @@ task. Let's look at one of the base classes declaration as an example:
        // Add caching framework garbage collection task
        $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks'][\TYPO3\CMS\Scheduler\Task\CachingFrameworkGarbageCollectionTask::class] = array(
                'extension' => $_EXTKEY,
-               'title' => 'LLL:EXT:' . $_EXTKEY . '/locallang.xml:cachingFrameworkGarbageCollection.name',
-               'description' => 'LLL:EXT:' . $_EXTKEY . '/locallang.xml:cachingFrameworkGarbageCollection.description',
+               'title' => 'LLL:EXT:' . $_EXTKEY . '/locallang.xlf:cachingFrameworkGarbageCollection.name',
+               'description' => 'LLL:EXT:' . $_EXTKEY . '/locallang.xlf:cachingFrameworkGarbageCollection.description',
                'additionalFields' => \TYPO3\CMS\Scheduler\Task\CachingFrameworkGarbageCollectionAdditionalFieldProvider::class
        );
 
index ddde4f2..bfc2d2e 100644 (file)
@@ -64,7 +64,7 @@ class VersionClickMenu {
        }
 
        /**
-        * Includes the [extDir]/locallang.php and returns the $LOCAL_LANG array found in that file.
+        * Includes the [extDir]/locallang.xlf and returns the translations found in that file.
         *
         * @return array Local lang array
         */