famelo/translation-helper

Package to automatically add missing labels to xlf files

Installs: 72

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 3

Forks: 0

Open Issues: 0

Type:typo3-flow-package

dev-master 2014-08-15 08:08 UTC

This package is auto-updated.

Last update: 2024-11-05 19:10:58 UTC


README

This package helps you to translate your Flow projects by automatically creating the needed xlf files and trans-items when you use the translate viewHelper or the translate method of the \TYPO3\Flow\I18n\Translator.

Requirements

This package currently depends on 2 pending changes that improve the Translator and TranslationViewHelper to combine the "translateByOriginalLabel" and "translateById" methods into one "translate" method that can easily be catched through AOP.

Settings

In order to enable the automatic generation you need to add configuration like this to your Settings.yaml

Famelo:
  TranslationHelper:
    autoCreateTranslations: true
	autoCreationWhitelist:
		- My.Package

Logging

The extension will write to a seperate Translatio.log which label will be added were, so you can keep a bit track of it.