Свойство | Тип | Описание | |
---|---|---|---|
$localizationService | |||
$packageManager | Neos\Flow\Package\PackageManagerInterface | ||
$packagesRegisteredForAutoInclusion | array | ||
$scrambleTranslatedLabels | boolean | ||
$xliffBasePath | string | A relative path for translations inside the package resources. | |
$xliffParser | |||
$xliffToJsonTranslationsCache | Neos\Cache\Frontend\VariableFrontend |
Метод | Описание | |
---|---|---|
getCacheVersion ( ) : integer | ||
getCachedJson ( |
Return the json array for a given locale, sourceCatalog, xliffPath and package. | |
parseXliffToArray ( string $xliffPathAndFilename, string $packageKey, string $sourceName ) : array | Read the xliff file and create the desired json |
Метод | Описание | |
---|---|---|
setArrayDataValue ( array &$arrayPointer, string $key, string $value ) : void | Helper method to create the needed json array from a dotted xliff id |
public getCacheVersion ( ) : integer | ||
Результат | integer | The current cache version identifier |
public getCachedJson ( |
||
$locale | The locale | |
Результат | Neos\Error\Messages\Result |
protected Service,Neos\Flow\I18n $localizationService | ||
Результат |
protected PackageManagerInterface,Neos\Flow\Package $packageManager | ||
Результат | Neos\Flow\Package\PackageManagerInterface |
protected array $packagesRegisteredForAutoInclusion | ||
Результат | array |
protected bool $scrambleTranslatedLabels | ||
Результат | boolean |
protected string $xliffBasePath | ||
Результат | string |
protected XliffParser,Neos\Flow\I18n\Xliff $xliffParser | ||
Результат |