Issue Bug Closed

#65035Translation not working with namespaces

Gernot Leitgab 02/12/15, 15:44 updated 02/13/15, 07:39

Description

MailView uses the class name to get the language label:

$label = strtolower(get_class($this)) . '.' . $type;

Which results in “typo3\cms\form\view\mail\mailview.$type” using namespaces.

In translation file the labels have (old) underscore style (e.g.):

<trans-unit id="tx_form_view_mail.success" xml:space="preserve">

Therefore no labels are displayed.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.