XliffLoader implements LoaderInterface

Read onlyYes
FinalYes

TYPO3-specific XLIFF file loader that implements Symfony's LoaderInterface while maintaining TYPO3's specific features like approval states and plurals.

This loader only converts ONE SINGLE FILE. It is not responsible for detecting the file location of translation! This is done - currently - by the LocalizationFactory and should be moved to a dedicated class.

This loader expects that the source is always english, and the translation is something else.

Internal

This class is not part of the TYPO3 Core API.

Table of Contents

Interfaces

LoaderInterface

Methods

load()  : MessageCatalogue

Methods

load()

public load(mixed $resource, string $locale[, string $domain = 'messages' ]) : MessageCatalogue
Parameters
$resource : mixed
$locale : string
$domain : string = 'messages'
Return values
MessageCatalogue

        
On this page

Search results