Bug #49545

Non-plural translations are not found if arguments are used

Added by Adrian Föder over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
I18n
Target version:
-
Start date:
2013-07-01
Due date:
% Done:

0%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

A simple translation which is not meant for handling plurals is not correctly resolved when used with arguements, for example,

<f:translate id="someId" arguments="{0: 2500}" />

does not resolve correctly. The error appears in \TYPO3\Flow\I18n\Translator::translateById where the $pluralForm equals to 'other' as soon as arguments are set (that's the distant observation so far, have to dig deeper).


Related issues

Is duplicate of TYPO3.Flow - Bug #45062: TranslateViewHelper fails if an array with a single number is passed as argumentsResolved2013-02-01

Actions

Also available in: Atom PDF