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

Alexander Stehlik alexander.stehlik at googlemail.com
Sun Feb 27 18:16:44 CET 2011


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
>



More information about the TYPO3-team-core mailing list