[TYPO3-dev] Proper usage of lang::getLL()?

Martin Kutschker masi-no at spam-typo3.org
Fri Jul 17 09:11:23 CEST 2009


Steffen Kamper schrieb:
> Hi,
> 
> Ernesto Baschny [cron IT] schrieb:
>>
>> I don't think one will want to add some html-tag inside an existing
>> localized string which wasn't there before. After all it is about
>> translation and not "changing" the output.
>>
>> If one needs to extend one particular localization string to include
>> html-tags, a different LL-tag has to be made anyway and processed in PHP
>> code anyway.
>>
> 
> the most limitations are in CSH where HTML woukd be a great options. I
> don't think we really need HTML for labels.

I agree. No markup for labels. For longer help texts (CSH) markup is
IMHO ok.

We could make this a rule and use getLL in the Core accordingly.
Existing strings must be stripped of markup if the violate this new rule.

Masi




More information about the TYPO3-dev mailing list