[TYPO3-core] RFC #9402: Create a common_locallang-file

Dmitry Dulepov [typo3] dmitry at typo3.org
Tue Sep 23 11:13:05 CEST 2008


Hi!

Benjamin Mack wrote:
> One question: do we need the prefix "common_" before ever label? We're 
> gonna use this like that
> 
> $GLOBALS['LANG']->sL('EXT:lang/common.xml:yes');
> 
> instead of
> 
> $GLOBALS['LANG']->sL('EXT:lang/common.xml:common_yes');
> 
> then, or did I miss something?

But than you cannot use includeLLfile and getLL. You risk to have conflicts with other included language files. I prefer prefixes.

-- 
Dmitry Dulepov
TYPO3 Core team
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
In the blog: http://typo3bloke.net/post-details/tag_your_typo3_extension_releases_in_svn/


More information about the TYPO3-team-core mailing list