[TYPO3-core] RFC #11571: Feature: tslib_pibase - function pi_loadLL - _LOCAL_LANG Keys like listView.more should also be possible in Typoscript

Popy popy.dev at gmail.com
Mon Feb 28 11:47:24 CET 2011


Hi,

Wouldn't it be better to improve the XLL feature in order to redefine labels
instead of putting labels into typoscript (with no charset support) ?

Regards

2011/2/27 Alexander Stehlik <alexander.stehlik at googlemail.com>

> Reminder #1
>
> Am 08.02.2011 14:04, schrieb Alexander Stehlik:
>
>>
>> Hi,
>>
>> I just had another idea in mind, that isn't that bad for performance and
>> doesn't use TypoScript inconsistently.
>>
>> A setup for overwriting language keys with dots might look like that:
>>
>> tx_myestension._LOCAL_LANG.de.keys-with-dots {
>> 10 = my.key.with.dots|My label
>> 20 = another.key.with.dots|My other label
>> }
>>
>> I also attached a patch for tslib_pibase that can interpret this kind of
>> setup. No flattening of arrays needed.
>>
>> What do you think of it?
>>
>> Kind regards,
>> Alex
>>
>>
>>
>>
>>
>> Am 12.08.2010 21:53, schrieb Philipp Gampe:
>>
>>> Am 12.08.2010, 21:43 Uhr, schrieb Steffen Kamper <info at sk-typo3.de>:
>>>
>>>  I would go for "|", because I don't think it is used much in labels.
>>>>> A fallback could be provided to support this too of no label with
>>>>> dots is found.
>>>>>
>>>>>
>>>> :o - looks weird.
>>>> Imho the same should be done as with other naming issues like class
>>>> names or function names: use _ to seperate group and name, use
>>>> camelCase or UpperCamelCase for the name without any seperator. Example:
>>>> error_SaveErrorInSituationA
>>>>
>>>
>>> I was referring to TS… in locallang "_" should be used together with
>>> camelCase.
>>> But as there are a lot of extensions with "wrong" labels, we should try
>>> to fix it nevertheless.
>>>
>>> Best regards
>>>
>>
>>
> _______________________________________________
> Before posting to this list, please have a look to the posting rules
> on the following websites:
>
> http://typo3.org/teams/core/core-mailinglist-rules/
> http://typo3.org/development/bug-fixing/diff-and-patch/
> _______________________________________________
> TYPO3-team-core mailing list
> TYPO3-team-core at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-team-core
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110228/ccd1f357/attachment.htm>


More information about the TYPO3-team-core mailing list