[TYPO3-mvc] RFC: #12502 translate viewhelper should have optional parameter extensionName

Georg Ringer mail at ringerge.org
Mon Jan 24 15:20:39 CET 2011


Hi all,

this is a SVN patch request.

Type:
=====
Feature

Bugtracker:
===========
http://forge.typo3.org/issues/12502

Branches:
=========
trunk

Problem:
========
The translate view helper works great bug would be even better if it
would be possible to add the extensionName as argument.

examples:
1) Using a standalone view with Tx_Fluid_View_StandaloneView makes it
impossible to work with translationViewHelper without duplicating
translations

2) using example #1 can sometimes lead to have no extensionName
available, therefore no translation can ever happen

3) having many extension in one project but very often the same
translations leads to the problem having duplicate keys.

Solution:
=========
Add the additional argument and check for it.

It is just a 2liner which can save much time for editiors and translators!

Regards,
Georg
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: translate-extkey.patch
URL: <http://lists.typo3.org/pipermail/typo3-project-typo3v4mvc/attachments/20110124/566479aa/attachment.asc>


More information about the TYPO3-project-typo3v4mvc mailing list