XliffFileProvider
class XliffFileProvider (View source)
A provider service for XLIFF file objects within the application
Properties
protected PackageManager | $packageManager | ||
protected Service | $localizationService | ||
protected XliffReader | $xliffReader | ||
protected string | $globalTranslationPath | ||
protected VariableFrontend | $cache | ||
protected string | $xliffBasePath | The path relative to a package where translation files reside. |
|
protected array | $files |
Methods
void
void
initializeObject()
When it's called, XML file is parsed (using parser set in $xmlParser) or cache is loaded, if available.
array
void
readDirectoryRecursively(string $translationPath, array $parsedData, string $fileId, string $defaultPackageName = 'Neos.Flow')
No description
null|XliffParser
getParser(string $documentVersion)
No description
Details
void
injectCache(VariableFrontend $cache)
Injects the Flow_I18n_XmlModelCache cache
void
initializeObject()
When it's called, XML file is parsed (using parser set in $xmlParser) or cache is loaded, if available.
array
getMergedFileData(string $fileId, Locale $locale)
No description
protected void
readDirectoryRecursively(string $translationPath, array $parsedData, string $fileId, string $defaultPackageName = 'Neos.Flow')
No description
FileAdapter
getFile(string $fileId, Locale $locale)
No description
null|XliffParser
getParser(string $documentVersion)
No description