Project

General

Profile

Actions

Bug #65035

closed

Translation not working with namespaces

Added by Gernot Leitgab almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2015-02-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #47817: Form localization depending on old class namesClosedPatrick Broens2013-05-02

Actions
Actions

Also available in: Atom PDF