[Flow] default locale / i18n question

Winfried Mingst admin at regionalberatung.at
Thu May 16 09:51:18 CEST 2013


Hi Alexander, thx for help.

{album.amount->f:format.currency()} works for me.

I set an TypeConverter in initializUpdateAction and CreateAction which 
works fine:

$this->arguments['album']->getPropertyMappingConfiguration()->forProperty['amount']->setTypeConverterOption(
                'TYPO3\Flow\Property\TypeConverter\FloatConverter', 
'locale', TRUE
        );

But I have a lot of float properties in an object. So I tried this 
(without- >forProperty('amount'):

$this->arguments['album']->getPropertyMappingConfiguration()->setTypeConverterOption(
                'TYPO3\Flow\Property\TypeConverter\FloatConverter', 
'locale', TRUE
        );


But that does'nt work. Is it possible to set a general typeconversion 
rule for floats in an object?

Btw: Validation error messages are in english. How can I display them in 
german?

thx





More information about the Flow mailing list