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

bernd wilke t3ng at pi-phi.tk
Thu Aug 12 12:16:36 CEST 2010


Am Thu, 12 Aug 2010 09:05:27 +0200 schrieb Helmut Hummel:

> Hi,
> 
> On 12.08.10 06:38, Gosign | Caspar Stuebs wrote:

>> Looking at the system extensions cms or lang, there are a lot of
>> markers using dots.
>> (e.g. <label index="header_position.I.1">Center</label>)
>> 
>> And if I use the kickstarter to create e.g. a checkbox in a new
>> extension, the markers for the checkbox values are created with dots.
>> 

this might be the reason for a lot of extensions which use dots in the 
keys.

> However, why not using another seprator in TypoScript?
> 
> _LOCAL_LANG.en.my_label_with_dots
> 
> evaluating to "my.label.with.dots" in the XML.
> 
> The only downside to such a solution would be that labels with
> underscores would not work any more, but I think they're less common
> than labels with dots (and we could implement a fallback for that
> easily).

why not use a less common character like ':', ',' or '|'?

(there is a similar character substitution in TS for accessing structured 
PHP-variables.) 

bernd
-- 
http://www.pi-phi.de/cheatsheet.html


More information about the TYPO3-team-core mailing list