‪TYPO3CMS  11.5
TYPO3\CMS\Core\Localization\LanguageService Class Reference

Public Member Functions

 __construct (Locales $locales, LocalizationFactory $localizationFactory, FrontendInterface $runtimeCache)
 
 init ($languageKey)
 
string getLL ($index)
 
string sL ($input)
 
 loadSingleTableDescription ($table)
 
array includeLLFile ($fileRef)
 

Static Public Member Functions

static static create (string $locale)
 
static createFromUserPreferences (?AbstractUserAuthentication $user)
 
static createFromSiteLanguage (SiteLanguage $language)
 

Public Attributes

string $lang = 'default'
 
bool $debugKey = false
 

Protected Member Functions

string debugLL ($value)
 
string getLLL ($index, $localLanguage)
 
array includeLanguageFileRaw ($fileRef)
 
array readLLfile ($fileRef)
 

Protected Attributes

array $languageDependencies = array( )
 
string[][] $labels = array( )
 
Locales $locales
 
LocalizationFactory $localizationFactory
 
FrontendInterface $runtimeCache
 

Detailed Description

Main API to fetch labels from XLF (label files) based on the current system language of TYPO3. It is able to resolve references to files + their pointers to the proper language. If you see something about "LLL", this class does the trick for you. It is not related for language handling of content, but rather of labels for plugins.

Usually this is injected into $GLOBALS['LANG'] when in backend or CLI context, and populated by the current backend user. Don't rely on $GLOBAL['LANG'] in frontend, as it is only available in certain circumstances! In Frontend, this is also used to translate "labels", see TypoScriptFrontendController->sL() for that.

As TYPO3 internally does not match the proper ISO locale standard, the "locale" here is actually a list of supported language keys, (see Locales class), whereas "english" has the language key "default".

Definition at line 41 of file LanguageService.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Localization\LanguageService::__construct ( Locales  $locales,
LocalizationFactory  $localizationFactory,
FrontendInterface  $runtimeCache 
)

Member Function Documentation

◆ create()

static static TYPO3\CMS\Core\Localization\LanguageService::create ( string  $locale)
static

Factory method to create a language service object.

Parameters
string$locale‪the locale (= the TYPO3-internal locale given)
Returns
‪static
Deprecated:
‪since TYPO3 v11.3, will be removed in v12.0

Definition at line 346 of file LanguageService.php.

◆ createFromSiteLanguage()

static TYPO3\CMS\Core\Localization\LanguageService::createFromSiteLanguage ( SiteLanguage  $language)
static
Deprecated:
‪since TYPO3 v11.3, will be removed in v12.0

Definition at line 364 of file LanguageService.php.

◆ createFromUserPreferences()

static TYPO3\CMS\Core\Localization\LanguageService::createFromUserPreferences ( ?AbstractUserAuthentication  $user)
static
Deprecated:
‪since TYPO3 v11.3, will be removed in v12.0

Definition at line 355 of file LanguageService.php.

Referenced by TYPO3\CMS\Frontend\Http\RequestHandler\getLanguageService().

◆ debugLL()

string TYPO3\CMS\Core\Localization\LanguageService::debugLL (   $value)
protected

Debugs localization key.

Parameters
string$value‪value to debug
Returns
‪string

Definition at line 109 of file LanguageService.php.

Referenced by TYPO3\CMS\Core\Localization\LanguageService\getLLL(), and TYPO3\CMS\Core\Localization\LanguageService\sL().

◆ getLL()

string TYPO3\CMS\Core\Localization\LanguageService::getLL (   $index)

Returns the label with key $index from the globally loaded $LOCAL_LANG array. Mostly used from modules with only one LOCAL_LANG file loaded into the global space.

Parameters
string$index‪Label key
Returns
‪string

Definition at line 121 of file LanguageService.php.

References TYPO3\CMS\Core\Localization\LanguageService\getLLL().

Referenced by TYPO3\CMS\Recordlist\LinkHandler\RecordLinkHandler\canHandleLink(), TYPO3\CMS\Scheduler\Controller\SchedulerModuleController\checkScreenAction(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\createNewRecordButton(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController\createTemplate(), TYPO3\CMS\Backend\View\PageLayoutView\generateLanguageView(), TYPO3\CMS\Reports\Report\Status\SecurityStatus\getAdminAccountStatus(), TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport\getCheckOptions(), TYPO3\CMS\Reports\Report\Status\ConfigurationStatus\getCreatedDirectoriesWorldWritableStatus(), TYPO3\CMS\Reports\Report\Status\ConfigurationStatus\getCreatedFilesWorldWritableStatus(), TYPO3\CMS\Reports\Report\Status\SecurityStatus\getEncryptedConnectionStatus(), TYPO3\CMS\Linkvalidator\Linktype\FileLinktype\getErrorMessage(), TYPO3\CMS\Reports\Report\Status\SecurityStatus\getExceptionHandlerStatus(), TYPO3\CMS\Reports\Report\Status\SecurityStatus\getExportedFilesStatus(), TYPO3\CMS\Reports\Report\Status\SecurityStatus\getFileDenyPatternStatus(), TYPO3\CMS\Reports\Report\Status\SecurityStatus\getHtaccessUploadStatus(), TYPO3\CMS\Install\Report\SecurityStatusReport\getInstallToolPasswordStatus(), TYPO3\CMS\Install\Report\SecurityStatusReport\getInstallToolProtectionStatus(), TYPO3\CMS\Reports\Report\Status\SecurityStatus\getLockSslStatus(), TYPO3\CMS\Reports\Report\Status\ConfigurationStatus\getMemcachedConnectionStatus(), TYPO3\CMS\Reports\Report\Status\FalStatus\getMissingFilesStatus(), TYPO3\CMS\Reports\Report\Status\SystemStatus\getMissingPhpModulesOfExtensions(), TYPO3\CMS\Reports\Report\Status\ConfigurationStatus\getMysqlDatabaseUtf8Status(), TYPO3\CMS\Reports\Report\Status\ConfigurationStatus\getReferenceIndexStatus(), TYPO3\CMS\Reports\Report\Status\Typo3Status\getRegisteredXclassStatus(), TYPO3\CMS\Scheduler\Controller\SchedulerModuleController\getSectionTitle(), TYPO3\CMS\Reports\Report\Status\SecurityStatus\getTrustedHostsPatternStatus(), TYPO3\CMS\Backend\Controller\PageLayoutController\initActions(), TYPO3\CMS\Scheduler\Controller\SchedulerModuleController\listTasksAction(), TYPO3\CMS\Lowlevel\Controller\DatabaseIntegrityController\mainAction(), TYPO3\CMS\Scheduler\Controller\SchedulerModuleController\mainAction(), TYPO3\CMS\Filelist\FileList\makeClip(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeClip(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeControl(), TYPO3\CMS\Backend\Controller\LoginController\makeInterfaceSelector(), TYPO3\CMS\Backend\Controller\PageLayoutController\menuConfig(), TYPO3\CMS\Backend\Controller\LoginController\provideCustomLoginStyling(), TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport\renderContent(), TYPO3\CMS\Backend\Controller\PageLayoutController\renderContent(), TYPO3\CMS\Backend\View\PageLayoutView\renderContentElementPreview(), TYPO3\CMS\Backend\Controller\NewRecordController\renderNewContentElementWizardLink(), TYPO3\CMS\Reports\Task\SystemStatusUpdateTask\sendNotificationEmail(), TYPO3\CMS\Reports\Report\Status\Status\sortStatusProviders(), and TYPO3\CMS\Backend\View\PageLayoutView\tt_content_drawHeader().

◆ getLLL()

string TYPO3\CMS\Core\Localization\LanguageService::getLLL (   $index,
  $localLanguage 
)
protected

Returns the label with key $index from the $LOCAL_LANG array used as the second argument

Parameters
string$index‪Label key
array$localLanguage‪$LOCAL_LANG array to get label key from
Returns
‪string

Definition at line 133 of file LanguageService.php.

References TYPO3\CMS\Core\Localization\LanguageService\$lang, and TYPO3\CMS\Core\Localization\LanguageService\debugLL().

Referenced by TYPO3\CMS\Core\Localization\LanguageService\getLL(), and TYPO3\CMS\Core\Localization\LanguageService\sL().

◆ includeLanguageFileRaw()

array TYPO3\CMS\Core\Localization\LanguageService::includeLanguageFileRaw (   $fileRef)
protected

Includes a locallang file (and possibly additional localized version if configured for), and then puts everything into "default", so "default" is kept as fallback

Parameters
string$fileRef‪$fileRef is a file-reference
Returns
‪array

Definition at line 287 of file LanguageService.php.

References TYPO3\CMS\Core\Localization\LanguageService\$labels, and TYPO3\CMS\Core\Localization\LanguageService\readLLfile().

Referenced by TYPO3\CMS\Core\Localization\LanguageService\loadSingleTableDescription().

◆ includeLLFile()

array TYPO3\CMS\Core\Localization\LanguageService::includeLLFile (   $fileRef)

Includes locallang file (and possibly additional localized version if configured for) Read language labels will be merged with $LOCAL_LANG (if $setGlobal = TRUE).

Parameters
string$fileRef‪$fileRef is a file-reference
Returns
‪array returns the loaded label file

Definition at line 271 of file LanguageService.php.

References TYPO3\CMS\Core\Localization\LanguageService\readLLfile().

Referenced by TYPO3\CMS\Backend\Controller\ContextMenuController\__construct(), TYPO3\CMS\Reports\Report\Status\Status\__construct(), TYPO3\CMS\Form\Hooks\DataStructureIdentifierHook\__construct(), TYPO3\CMS\Backend\Controller\BackendController\__construct(), TYPO3\CMS\Linkvalidator\LinkAnalyzer\__construct(), TYPO3\CMS\Scheduler\Controller\SchedulerModuleController\__construct(), TYPO3\CMS\Info\Controller\InfoModuleController\__construct(), TYPO3\CMS\Filelist\FileList\__construct(), TYPO3\CMS\Reports\Report\Status\WarningMessagePostProcessor\displayWarningMessages_postProcess(), TYPO3\CMS\Adminpanel\Modules\Debug\QueryInformation\getContent(), TYPO3\CMS\Adminpanel\Modules\Debug\PageTitle\getContent(), TYPO3\CMS\Info\Controller\InfoPageTyposcriptConfigController\init(), TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController\init(), TYPO3\CMS\Backend\Controller\LoginController\init(), TYPO3\CMS\Backend\Controller\NewRecordController\init(), TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport\main(), TYPO3\CMS\Backend\Controller\Wizard\ListController\mainAction(), TYPO3\CMS\Recordlist\Controller\ElementBrowserController\mainAction(), TYPO3\CMS\Backend\Controller\Wizard\AddController\mainAction(), TYPO3\CMS\Backend\Controller\Wizard\EditController\mainAction(), TYPO3\CMS\Filelist\Controller\File\FileUploadController\mainAction(), TYPO3\CMS\Recordlist\Controller\RecordListController\mainAction(), TYPO3\CMS\Lowlevel\Controller\DatabaseIntegrityController\mainAction(), TYPO3\CMS\Backend\Controller\PageLayoutController\mainAction(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController\mainAction(), and TYPO3\CMS\Viewpage\Controller\ViewModuleController\showAction().

◆ init()

TYPO3\CMS\Core\Localization\LanguageService::init (   $languageKey)

Initializes the language to fetch XLF labels for. $languageService = GeneralUtility::makeInstance(LanguageServiceFactory::class)->createFromUserPreferences($GLOBALS['BE_USER']);

Exceptions

Definition at line 89 of file LanguageService.php.

Referenced by TYPO3\CMS\Backend\Controller\LoginController\init().

◆ loadSingleTableDescription()

TYPO3\CMS\Core\Localization\LanguageService::loadSingleTableDescription (   $table)

Loading $TCA_DESCR[$table]['columns'] with content from locallang files as defined in $TCA_DESCR[$table]['refs'] $TCA_DESCR is a global var

Parameters
string$table‪Table name found as key in global array $TCA_DESCR

Definition at line 201 of file LanguageService.php.

References $GLOBALS, and TYPO3\CMS\Core\Localization\LanguageService\includeLanguageFileRaw().

◆ readLLfile()

array TYPO3\CMS\Core\Localization\LanguageService::readLLfile (   $fileRef)
protected

Includes a locallang file and returns the $LOCAL_LANG array found inside.

Parameters
string$fileRef‪Input is a file-reference to be a 'local_lang' file containing a $LOCAL_LANG array
Returns
‪array value of $LOCAL_LANG found in the included file, empty if non found

Definition at line 308 of file LanguageService.php.

References TYPO3\CMS\Core\Localization\LanguageService\$lang, and TYPO3\CMS\Core\Utility\ArrayUtility\mergeRecursiveWithOverrule().

Referenced by TYPO3\CMS\Core\Localization\LanguageService\includeLanguageFileRaw(), TYPO3\CMS\Core\Localization\LanguageService\includeLLFile(), and TYPO3\CMS\Core\Localization\LanguageService\sL().

◆ sL()

string TYPO3\CMS\Core\Localization\LanguageService::sL (   $input)

splitLabel function

All translations are based on $LOCAL_LANG variables. 'language-splitted' labels can therefore refer to a local-lang file + index. Refer to 'Inside TYPO3' for more details

Parameters
string$input‪Label key/reference
Returns
‪string

Definition at line 161 of file LanguageService.php.

References $output, TYPO3\CMS\Core\Localization\LanguageService\debugLL(), TYPO3\CMS\Core\Localization\LanguageService\getLLL(), TYPO3\CMS\Core\Utility\PathUtility\isExtensionPath(), and TYPO3\CMS\Core\Localization\LanguageService\readLLfile().

Referenced by TYPO3\CMS\Backend\View\BackendLayoutView\addBackendLayoutItems(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaInputPlaceholders\addData(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaLanguage\addInvalidItem(), TYPO3\CMS\Core\Utility\File\ExtendedFileUtility\addMessageToFlashMessageQueue(), TYPO3\CMS\Backend\Backend\Shortcut\ShortcutRepository\addShortcut(), TYPO3\CMS\Recordlist\LinkHandler\RecordLinkHandler\canHandleLink(), TYPO3\CMS\Backend\Clipboard\Clipboard\confirmMsgText(), TYPO3\CMS\Backend\Controller\OnlineMediaController\createAction(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\createDownloadButtonForTable(), TYPO3\CMS\Info\Controller\PageInformationController\fillFieldConfiguration(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\generateReferenceToolTip(), TYPO3\CMS\Scheduler\Example\SleepTask\getAdditionalInformation(), TYPO3\CMS\Scheduler\Example\TestTask\getAdditionalInformation(), TYPO3\CMS\Scheduler\Task\TableGarbageCollectionTask\getAdditionalInformation(), TYPO3\CMS\Core\Site\Entity\NullSite\getAvailableLanguages(), TYPO3\CMS\Core\Category\CategoryRegistry\getCategoryFieldsForTable(), TYPO3\CMS\Backend\View\BackendLayoutView\getColumnName(), TYPO3\CMS\Backend\Backend\ToolbarItems\SystemInformationToolbarItem\getComposerMode(), TYPO3\CMS\Backend\Backend\ToolbarItems\SystemInformationToolbarItem\getDatabase(), TYPO3\CMS\Dashboard\DashboardPreset\getDescription(), TYPO3\CMS\Workspaces\Service\HistoryService\getDifferences(), TYPO3\CMS\Reports\Report\Status\SecurityStatus\getEncryptedConnectionStatus(), TYPO3\CMS\Workspaces\Controller\Remote\ActionHandler\getErrorResponse(), TYPO3\CMS\Reports\Report\Status\SecurityStatus\getHtaccessUploadStatus(), TYPO3\CMS\Install\Report\SecurityStatusReport\getInstallToolProtectionStatus(), TYPO3\CMS\Adminpanel\Modules\Debug\Events\getLabel(), TYPO3\CMS\Adminpanel\Modules\Info\PhpInformation\getLabel(), TYPO3\CMS\Adminpanel\Modules\Info\RequestInformation\getLabel(), TYPO3\CMS\Adminpanel\Modules\Info\UserIntInformation\getLabel(), TYPO3\CMS\Adminpanel\Modules\InfoModule\getLabel(), TYPO3\CMS\Adminpanel\Modules\TsDebugModule\getLabel(), TYPO3\CMS\Adminpanel\Modules\DebugModule\getLabel(), TYPO3\CMS\Adminpanel\Modules\Debug\QueryInformation\getLabel(), TYPO3\CMS\Adminpanel\Modules\Debug\PageTitle\getLabel(), TYPO3\CMS\Adminpanel\Modules\TsDebug\TypoScriptWaterfall\getLabel(), TYPO3\CMS\Adminpanel\Modules\Debug\Log\getLabel(), TYPO3\CMS\Adminpanel\Modules\CacheModule\getLabel(), TYPO3\CMS\Adminpanel\Modules\Info\GeneralInformation\getLabel(), TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController\getLabelForTableColumn(), TYPO3\CMS\Backend\Form\Element\InputLinkElement\getLinkExplanation(), TYPO3\CMS\Reports\Report\Status\ConfigurationStatus\getMemcachedConnectionStatus(), TYPO3\CMS\Core\FormProtection\FormProtectionFactory\getMessageClosure(), TYPO3\CMS\Workspaces\Service\StagesService\getNextStage(), TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController\getPageConfigLabel(), TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController\getPageTitle(), TYPO3\CMS\Viewpage\Controller\ViewModuleController\getPreviewPresets(), TYPO3\CMS\Scheduler\Controller\SchedulerModuleController\getRegisteredClasses(), TYPO3\CMS\Scheduler\Task\FileStorageExtractionAdditionalFieldProvider\getRegisteredExtractorsField(), TYPO3\CMS\Scheduler\Task\ExecuteSchedulableCommandAdditionalFieldProvider\getSchedulableCommandsField(), TYPO3\CMS\Backend\Controller\HelpController\getShortcutTitle(), TYPO3\CMS\Workspaces\Controller\ReviewController\getStageActions(), TYPO3\CMS\Workspaces\Service\StagesService\getStageTitle(), TYPO3\CMS\Install\Report\EnvironmentStatusReport\getStatusInternal(), TYPO3\CMS\Filelist\FileList\getTable(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\getTable(), TYPO3\CMS\Backend\View\PageLayoutView\getTable_tt_content(), TYPO3\CMS\Scheduler\Task\AbstractTask\getTaskDescription(), TYPO3\CMS\Scheduler\Task\AbstractTask\getTaskTitle(), TYPO3\CMS\Dashboard\WidgetGroup\getTitle(), TYPO3\CMS\Dashboard\Dashboard\getTitle(), TYPO3\CMS\Dashboard\DashboardPreset\getTitle(), TYPO3\CMS\Backend\Search\LiveSearch\LiveSearch\getTitleOfCurrentRecordType(), TYPO3\CMS\Reports\Report\Status\SecurityStatus\getTrustedHostsPatternStatus(), TYPO3\CMS\Backend\Controller\ContentElement\NewContentElementController\getWizardGroupHeader(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaSelectItems\groupAndSortItems(), TYPO3\CMS\Workspaces\Controller\ReviewController\indexAction(), TYPO3\CMS\Filelist\Controller\File\RenameFileController\init(), TYPO3\CMS\Filelist\Controller\File\FileUploadController\init(), TYPO3\CMS\Filelist\Controller\File\CreateFolderController\init(), TYPO3\CMS\Filelist\Controller\File\EditFileController\init(), TYPO3\CMS\Backend\View\PageLayoutView\initialize(), TYPO3\CMS\IndexedSearch\Controller\AdministrationController\initializeModuleTemplate(), TYPO3\CMS\Backend\Backend\Shortcut\ShortcutRepository\initShortcuts(), TYPO3\CMS\Scheduler\Controller\SchedulerModuleController\listTasksAction(), TYPO3\CMS\Info\Controller\InfoPageTyposcriptConfigController\main(), TYPO3\CMS\Recordlist\Controller\ClearPageCacheController\mainAction(), TYPO3\CMS\Filelist\FileList\makeClip(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeClip(), TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList\makeControl(), TYPO3\CMS\Filelist\FileList\makeEdit(), TYPO3\CMS\Workspaces\Hook\BackendUtilityHook\makeEditForm_accessCheck(), TYPO3\CMS\Filelist\FileList\makeRef(), TYPO3\CMS\Backend\Template\ModuleTemplate\makeShortcutIcon(), TYPO3\CMS\Backend\Controller\PageLayoutController\menuConfig(), TYPO3\CMS\Info\Controller\InfoModuleController\mergeExternalItems(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController\mergeExternalItems(), TYPO3\CMS\Core\Database\QueryGenerator\mkTableSelect(), TYPO3\CMS\Info\Controller\PageInformationController\modMenu(), TYPO3\CMS\Core\TypoScript\Parser\ConstantConfigurationParser\parseComments(), TYPO3\CMS\Workspaces\Service\StagesService\prepareStagesArray(), TYPO3\CMS\Linkvalidator\Result\LinkAnalyzerResult\processBrokenLinks(), TYPO3\CMS\Workspaces\Hook\DataHandlerHook\publishNewRecord(), TYPO3\CMS\Viewpage\Controller\ViewModuleController\registerDocHeader(), TYPO3\CMS\Backend\Form\FieldInformation\TcaDescription\render(), TYPO3\CMS\Backend\Form\Element\InputSlugElement\render(), TYPO3\CMS\Backend\Form\Container\InlineRecordContainer\renderCombinationChild(), TYPO3\CMS\Filelist\Controller\File\ReplaceFileController\renderContent(), TYPO3\CMS\Backend\Form\Element\FileInfoElement\renderFileInformationContent(), TYPO3\CMS\Scheduler\Task\ExecuteSchedulableCommandAdditionalFieldProvider\renderOptionField(), TYPO3\CMS\Form\Hooks\FormPagePreviewRenderer\renderPageModulePreviewContent(), TYPO3\CMS\Fluid\ViewHelpers\Be\Labels\CshViewHelper\renderStatic(), TYPO3\CMS\RteCKEditor\Form\Element\RichTextElement\replaceLanguageFileReferences(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaCheckboxItems\sanitizeConfiguration(), TYPO3\CMS\Backend\Form\FormDataProvider\TcaCheckboxItems\sanitizeLabeledToggleCheckbox(), TYPO3\CMS\Viewpage\Controller\ViewModuleController\showAction(), TYPO3\CMS\Reports\Report\Status\Status\sortStatusProviders(), TYPO3\CMS\IndexedSearch\Controller\AdministrationController\statisticDetailsAction(), TYPO3\CMS\Extensionmanager\Controller\UpdateFromTerController\updateExtensionListFromTerAction(), and TYPO3\CMS\Workspaces\Hook\DataHandlerHook\version_swap().

Member Data Documentation

◆ $debugKey

bool TYPO3\CMS\Core\Localization\LanguageService::$debugKey = false

If TRUE, will show the key/location of labels in the backend.

Definition at line 53 of file LanguageService.php.

◆ $labels

string [][] TYPO3\CMS\Core\Localization\LanguageService::$labels = array( )
protected

◆ $lang

string TYPO3\CMS\Core\Localization\LanguageService::$lang = 'default'

This is set to the language that is currently running for the user

Definition at line 47 of file LanguageService.php.

Referenced by TYPO3\CMS\Core\Localization\LanguageService\getLLL(), and TYPO3\CMS\Core\Localization\LanguageService\readLLfile().

◆ $languageDependencies

array TYPO3\CMS\Core\Localization\LanguageService::$languageDependencies = array( )
protected

List of language dependencies for actual language. This is used for local variants of a language that depend on their "main" language, like Brazilian Portuguese or Canadian French.

Definition at line 60 of file LanguageService.php.

◆ $locales

Locales TYPO3\CMS\Core\Localization\LanguageService::$locales
protected

◆ $localizationFactory

LocalizationFactory TYPO3\CMS\Core\Localization\LanguageService::$localizationFactory
protected

◆ $runtimeCache

FrontendInterface TYPO3\CMS\Core\Localization\LanguageService::$runtimeCache
protected